Database connection

Results 1 to 2 of 2

Thread: Database connection

  1. #1
    Join Date
    Dec 1969

    Default Database connection

    Please Tell me how to connect to sql server database from my aspx page.<BR><BR>In ASP we do <BR>set objCon = server.createobject("ADODB.connection")<BR>objcon. open "dsnname","uid","pwd"<BR><BR>set objRs = server.createobject("ADODB.recordset")<BR>resrs.op en "select * from tablename",objcon.<BR><BR>The same thing how do we do it in dotnet.<BR><BR>Thanks in advance.<BR>

  2. #2
    Join Date
    Dec 1969

    Default If you don't know that...

    then, you must start here:<BR><BR>

Posting Permissions

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