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

Is asp a language?

508


What is difference between aspx and ascx?

491


What process happens behind, when we try to access any page on the internet.

1637


What are the advantages of asp?

500


What is asp give its application?

572






What does asp mean in business?

494


we are doing Design of Placement Website as our academic project. Home page is in c#.net format and register page is in asp.net format. We met a problem in this.register page is not linked in home page. how i complete my project with out any change..?

1550


What is the purpose of application.lock method?

543


What are the attributes of the

tags?

500


What is the microsoft intermediate language (msil)?

462


What are the methods in session object in asp?

538


How many types of cookies?

507


What are the features of asp?

513


Define an application domain?

527


What is asp in web design?

473