How many commands does the oledbcommand takes?what are they?

Answers were Sorted based on User's Feedback



How many commands does the oledbcommand takes?what are they?..

Answer / abhineet

System.Data.OleDb.OleDbCommand cmd = new
System.Data.OleDb.OleDbCommand();
cmd.ExecuteNonQuery()
cmd.ExecuteReader()
cmd.ExecuteScalar()

Is This Answer Correct ?    2 Yes 0 No

How many commands does the oledbcommand takes?what are they?..

Answer / ansu kumar

commands are
insertcommand
updatecommand
selectcommand
deletecommand

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

What is the use of SqlCommand object?

0 Answers  


What is different between sqlcommand object and command behavior object?

0 Answers  


What is the DataTableCollection?

0 Answers  


What is difference between datareader and dataadapter?

0 Answers  


can we execute trigger normally at the desired time?

3 Answers   Microsoft,






Write steps of retrieving data using ado.net ?

3 Answers   Keane India Ltd,


What is the difference between data grid and data repeater?

0 Answers  


What are all the classes that are available in System.Data Namespace?

0 Answers  


Explain how to find the given query is optimised one or not?

0 Answers  


What is the difference between DataReader and DataSet in ADO.NET?

0 Answers   Petranics Solutions,


Explain ado.net features?

0 Answers  


Which control of the BindingNavigator returns the current position within the data source?

0 Answers  


Categories