Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to connect asp with sql server.......?

Write some code for connectivity between sql server and ASP...

Answer Posted / thimmaiah

<%
Set conn=Server.CreateObject("ADODB.Connectiion")
Con.Provider="sql Sever Repulication OLEDB Provider for DTS"
conn.Open "C:/Programfile/Personnel
Records/Switching_Employee.Mdb"
set Rs=Server.createObject("ADODB.Connection")
Rs.OPen "Employee",conn
%>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can you overload a method?

900


What is a request body?

856


what is the default .net provider

2249


What is an .asp file?

1000


Explain the properties of session object?

915


Is classic asp dead?

1011


What is pdf aspx?

891


Can any body send me Some Interview Questions of ASP.Net 2.0 or Later to my mail id that is gauravscott@gmail.com

1749


What happens to asp pages?

918


What is an asp model?

926


Explain the life cycle of asp page.

948


Which asp object is often used to retrieve user information from forms?

1078


How do I open aspx files?

963


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

847


Define microsoft intermediate language (msil)?

870