how to INSERT data into a table in SQL express2005 using ASP.Net2.0

P

Pratik Gupte

I have created a database in .mdf format, but I am unable to insert data
into its tables. Can anybody help how to insert data using ASP.Net 2.0 using
SQL Server 2005 Express edition in windows integrated security mode.
thx
 
J

Jos

Pratik said:
I have created a database in .mdf format, but I am unable to insert
data into its tables. Can anybody help how to insert data using
ASP.Net 2.0 using SQL Server 2005 Express edition in windows
integrated security mode.
thx

1) Add the ASPNET user as a login to SQL Server
2) Add the login as a database user to your database
3) Give the database user the INSERT permission to the table(s).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top