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

What are private assemblies and shared assemblies?

528


What does active server pages look like?

523


What are the stored procedures?

498


Name the collections of session object?

534


What is asp in web?

483






What is an .asp file?

524


sir,please send me the NIC exam questions

1527


What are the tags necessary to be present within the tag ?

469


How do you make it so that code runs when the security system is stopping it?

512


Who invented asp?

526


Explain the difference between server-side validation and client-side validation?

515


I am not doing well in my oracle class and desparetly need some help. My main problem is the join chapter. I am very frustrated right now because I got my first zero in my in school lastweek. I excell in every other subject except oracle. I really would like to learn the program, but it looks dim for me right now and it is too late to drop the class without getting 'F'. Can someone pleae help me. with this one because I only have a few days before my assignment is due. If you leave your email I will get intouch with you immediately. Thanks

1547


Plz give me the code for binding the dropdownlists with Country,State,City And Each will represent after selecting upper dropdownlist

3028


Can I avoid using the garbage collected heap?

534


How to insert the records in a database table by using asp?

467