Search code examples
dotnetnukedotnetnuke-moduledotnetnuke-5

How to create Module DNN 6.0


I have created a module which have 3 fields(textbox) .Now I want to insert all these fields in Database table. So my question how to create table , how to make a connection and how to code related to insert, update ,delete and select data form that table in DNN 6.0


Solution

  • You may create table as your module installing. In the sql script file (01.00.00.SqlDataProvider), you can write sql scripts (like create table, create procedure, ...).

    Also for your insert/update/delete/... you can use linq or a controller which calls stored-procedures.

    Check this link for more details.