working with local databases in asp.net

by pietman 1. March 2010 17:56

make sure to copy the database in the APP_Folder

use the following connection string as template:

<add name="GuestbookConnectionString1" connectionString="Data Source=.\SQLEXPRESS; AttachDBFilename=|DataDirectory|\Guestbook.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
   providerName="System.Data.SqlClient" />

 

 

Tags:

c# | SQL SERVER

Add c0mment




  Country flag
biuquote
  • Comment
  • Preview
Loading


About ...

pietman celliersPietman Celliers
Bitlink  Ltd
bitlinkit.com