#1
  1. No Profile Picture
    Contributing User
    ASP Explorer (0 - 99 posts)

    Join Date
    Oct 2013
    Posts
    29
    Rep Power
    0

    Microsoft Sql 2012 Connection


    I am facing problem to connection of sql server with my web. so Give me any idea or send to complete code of connection between sql server 2012 and webform asp.net 4.5 framwork.


    thnx
  2. #2
  3. No Profile Picture
    Contributing User
    ASP Explorer (0 - 99 posts)

    Join Date
    Oct 2013
    Posts
    29
    Rep Power
    0
    Still waiting for help from your site..!
  4. #3
  5. Contributing User
    ASP Skiller (1500 - 1999 posts)

    Join Date
    Mar 2005
    Location
    Columbus, OH
    Posts
    1,665
    Rep Power
    283
    this is link to article how to build connection string to connect web application with sql server
    SQL Server Connection Strings for ASP_NET Web Applications - ASP.NET and Web Tools Developer Content Team - Site Home - MSDN Blogs
    GK
    __________________________________________________ _____
    if you found this post is useful click Give Rep button (bottom side on this reply ) and agree
  6. #4
  7. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Dec 2013
    Posts
    2
    Rep Power
    0
    Dim MyConnection As New SqlConnection(server=ServerName; database=DBNAME; user id=UID; password=PASSWORD;Pooling=False; Connect Timeout=45)
    Dim MyCommand As New SqlCommand()

    MyCommand = New SqlCommand("SQLQUERY", MyConnection)
    MyCommand.CommandType = CommandType.Text


    MyCommand.ExecuteNonQuery()

Similar Threads

  1. Microsoft SQL Server 2012
    By Vargo in forum Microsoft SQL Server
    Replies: 0
    Last Post: October 1st, 2013, 08:25 AM
  2. Microsoft says 2012 CES tech show will be its last (AP)
    By RSS_News_User in forum Technology News
    Replies: 0
    Last Post: December 21st, 2011, 02:00 PM
  3. Replies: 0
    Last Post: June 12th, 2009, 12:53 PM
  4. ASP & Microsoft Access connection!!!
    By Kyriakos in forum ASP Development
    Replies: 2
    Last Post: October 11th, 2006, 05:46 AM
  5. How to get Microsoft.Jet db connection to work?
    By hauruapai in forum ASP Development
    Replies: 2
    Last Post: July 18th, 2006, 10:14 PM

IMN logo majestic logo threadwatch logo seochat tools logo