plz giv me the procedure for connecting to database

Answer Posted / kamesh

Set Con=Server.CreateObject("ADODB.Connection")
Con.ConnectionTimeout = 0
Con.CommandTimeout = 0
Con.Open "Provider=SQLOLEDB.1;Password=aatindia;Persist
Security Info=false;User ID=aspteam;Initial
Catalog=aat_new1;Data Source=indiaserver"

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I use .net framework components from a com program?

674


Define managed code?

713


Should user input data validation occur server-side or client-side?

672


What is Debit Memo & Credit Memo in Payables?

1731


Explain the properties of session object?

680


What are server-side includes?

667


How do I save an aspx file?

724


by puting attendance to students if he absent tat should intimate to his fathers mobile automatically anybody having code send to me

1573


What are the tasks performed by <> tags?

682


Define a dictionary object?

746


Give the comment tags for the following?

687


What is a service application?

699


What is the full name of asp in vb net?

675


What is a variable in asp?

684


What is classic asp application?

662