Question

  • Creator
    Topic
  • #2146358

    connection

    Locked

    by kamba_hotguy ·

    hi
    how to connect asp.net2003 with sql.
    while iam trying to establish the connection
    it was prompting me to enter server name
    and username and password. if i want to enterthe server name,what should i want to give and same as for password also.Is anyone there to help me…pleae

All Answers

  • Author
    Replies
    • #2461185

      Clarifications

      by kamba_hotguy ·

      In reply to connection

      Clarifications

    • #2461167

      Try these…

      by Anonymous ·

      In reply to connection

      using system.data.sqlclient

      SqlConnection Con(username=’….’;pwd=’….’;server=’localhost’;database=’pubs’)

      using System.Data.SqlClient;

      SqlConnection con = new SqlConnection(“server=; database= ;user id= ;password= ;”);

      http://www.dotnetspider.com/forum/ViewForum.aspx?ForumId=135682

      Please post back if you have any more problems or questions.

Viewing 1 reply thread