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...

what is the syntax code to oledb to connect oracle

Answer Posted / srinivas

using system.data.oledb;
oledbconnection cn=new
oledbconnection("uid=<user_name>;pwd=<pwd>;server=<servername>");
cn.open();

here u declare <user_name> is u give username
pwd is u give password
<server> or data source is u give

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....

4359


Name which operations can you not perform on an ado.net dataset?

925


What is ambient transaction?

887


Why is it important to close an ado.net application?

967


What is ado connection?

897


What are the rules to implement connection pooling?

1001


Explain the architecture of ado.net?

1009


Can we load multiple tables in a dataset?

1062


Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?

1014


Do we use stored procedure in ADO.Net?

940


Give an example of a .net application which connects to microsoft access database using ado.net classes.

1076


What is data view and variable view?

855


What is the difference between SqlCommand and SqlCommandBuilder?

998


What is the difference in record set and dataset?

975


What does ole stand for in excel?

1063