how to add sql server database in c#.net application
how to add sql server database in c#.net application ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nilesh JadavPosted May 29, 2015, 7:27 AM
Yeah ! Manoj is right. Specify it where you want to add your SQL Server ?.
If you want to add it into your website (asp.net using c#/vb) then go to your website - ->Right Click --> Add New Item (CTRL +Shift + A) - -> Find SQL Server Database - -> Click Ok
Note: After Press OK if vs10 Prompt you by saying " you want to add your Database in - -> App_data_folder or not ?" Then make it as "YES". APP_DATA_Folder will protect your Database from Intruders.
In Left hand side of VS10 Server Explorer is there you will see your database there. Name as - -> Database.mdf
Pankaj Kumar ChoudharyPosted May 29, 2015, 7:21 AM
Shuvojit HalderPosted May 29, 2015, 3:40 AM
Dipankar BiswasPosted May 29, 2015, 3:40 AM
Manoj BhoirPosted May 29, 2015, 3:39 AM