How to get the new oledb connection of oracle in database
programming?
Answer / srikant dwibedi
using OLEDB connection we can connect the MS-ACCESS,Sql
Server,Oracle.
here i given the coding for connect the oledb connection
OleDbConnection con = new OleDbConnection();
con.ConnectionString="Provider=Microsoft.Jet.OleDb.4.0;Data
Source=databasenamewithpath;";
con.Open();
then u can use the dataset or datareader
OleDbCommand cmd = new OleDbCommand(sql,con);
cmd.CommandType = CommandType.Text;
cmd.ExecuteNonQuery();
OleDbDataReader reader;
reader = cmd.ExecuteReader();
OleDbDataAdapter oda = new OleDbDataAdapter(sql,con);
DataSet ds = new DataSet();
oda.Fill(ds,"tablename");
| Is This Answer Correct ? | 1 Yes | 0 No |
Which is the best institute in navi mumbai to learn DotNet
Is bulk insert faster than insert?
Describe datareader object of ado.net with example.
How to creating a SqlCommand Object?
List the 4 common ado.net namespaces?
Which type of database is used while processing dynamic database?
What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?
What is Serialization in .NET? what are the types of Serialization?
How can you identify whether or not any changes are made to the DataSet object since it was last loaded?
What does ado stand for in ado.net?
What is ado or jdbc?
What is the hierarchy of data in databases?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)