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

Which is faster datareader or dataadapter?

1043


What are two types of transaction supported by ado.net?

1034


Why do we serialize data?

1009


What are advantages of microsoft-provided data provider classes in ado.net?

1035


What is oledb connection?

1036


What are the data providers in ADO.NET framework?

1075


What is the default provider in ado.net?

1022


What are the benefits of ADO.NET?

1172


What is execute reader in ado.net?

1013


What is the meaning of object pooling?

1311


What is a serialized object?

1104


What is difference between executequery and executeupdate?

1097


What are the data access namespaces in .NET?

1261


What are ado.net objects?

1202


Data reader read and forward only, how is it possible to get 2 tables of data at a time?

963