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

What is the usage of the dataset object in ado.net?

952


What is the difference between dataset and datatable?

994


What is the role of clr?

937


What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?

988


Which object needs to be closed?

2247


What is bubbled event can you please explain?

1028


What are the data access namespaces in .NET?

1197


How would you connect to database using .NET?

1023


What is oledb driver?

926


What is csdl entity framework?

1008


How to copy the contents from one table to another table and how to delete the source table in ado.net?

1023


What do you know about ado.net's methods?

1100


What are basic methods of dataadapter?

960


Explain ado.net features? Benefits? Drawbacks?

1042


How can we check that some changes have been made to dataset since it was loaded?

962