Click here to Skip to main content
12,066,626 members (55,985 online)
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Here is a short tutorial with all that you requested: http://msdn.microsoft.com/en-us/data/gg685467.aspx[^]
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web04 | 2.8.160208.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100