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

ThinkingStiff
  • 64,767
  • 30
  • 146
  • 239
Hitesh
  • 1,188
  • 5
  • 30
  • 52

1 Answers1

4

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.

Ehsan
  • 831
  • 17
  • 27