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 is the use of following Statement Response.Expires=120 A.The page will be removed form cache after 120 Hours B.The page will be removed form cache after 120 Sec C.The page will be removed form cache before 120 Min D.The page will be removed form cache after 2 Hours

1 Answers  


Speaking of boolean data types, whats different between c# and /c++?

0 Answers  


What are ARRAYS?

3 Answers  


Tell something about Active Server Pages?

5 Answers   Microsoft,


What is msmq?

0 Answers  






What is asp code?

0 Answers  


Name the command to display characters to the html page?

0 Answers  


What is a form collection in asp?

0 Answers  


What opens asp files?

0 Answers  


Define a form collection?

0 Answers  


Why does my code get a security exception when I run it from a network shared drive?

0 Answers  


what is diff c#and vb.net what is .net framework 3.5 what is webservice with expmles

0 Answers  


Categories