Click here to Skip to main content
15,885,278 members

No-one is going to write you a sample application. It's better to use Entity Framework, just add an edmx file and point it to your DB. Once you've done that, the connection string will be in your web.config, and you can change it if you like.
 
Share this answer
 
Here is a short tutorial with all that you requested: http://msdn.microsoft.com/en-us/data/gg685467.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900