plz giv me the procedure for connecting to database



plz giv me the procedure for connecting to database..

Answer / 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

More ASP Interview Questions

What are the attributes of the <form> tags?

0 Answers  


what are web handlers?

0 Answers  


What are the event handlers of Application Object?

1 Answers  


What are LOCAL and GLOBAL variables?

1 Answers  


difference between html and asp?

0 Answers   Polycom,






What is the microsoft intermediate language (msil)?

0 Answers  


Define application-scope?

0 Answers  


Tell something about Active Server Pages?

5 Answers   Microsoft,


Define a class in css?

0 Answers  


What is the difference between cshtml and aspx?

0 Answers  


Can we Use VB SCRIPT instead of JAVASCRIPT in Asp.Net...

0 Answers  


What is a TextStream object?

1 Answers  


Categories