SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Apr 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    connection with sql server

    how connection is made in asp.net to sql server databse?

  2. #2
    SitePoint Mentor NightStalker-DNS's Avatar
    Join Date
    Jul 2004
    Location
    Cape Town, South Africa
    Posts
    2,878
    Mentioned
    47 Post(s)
    Tagged
    0 Thread(s)
    With the SqlConnection class and a connection string in the web.config file. There will be tons of readily available examples online. Just google for it

  3. #3
    Afrika
    Join Date
    Jul 2004
    Location
    Nigeria
    Posts
    1,737
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by lifecareivf View Post
    how connection is made in asp.net to sql server databse?
    I think it all depends on what choice of front end or patterns you want.

    For now Microsoft is pushing entity framework which makes life easy another good alternative is to use ADO.NET which is the older method, but a lower level of abstraction.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •