Search code examples
dotnetnuke

Add table in existing DNN Database


I am Currently working on DNN based website. I want to add new table for my custom module to keep record of login and registration info of profile. For that does anyone knows which fields are required for any table in DNN? I want to use database which I assigned at DNN installation. And how to retrieve data from table which I have created?


Solution

  • Chris handled the table requirements, here is a little about accessing the database...

    Using DAL2 to access your database in DNN is really easy. It helps you connect to the database and preform the CRUD operations. Follow the MyObject.cs and MyObjectRepository.cs model and you should be good to go.