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

Call a stored procedure from ado.net and pass parameter to it ?

7 Answers   Keane India Ltd, TCS,


Can I use One Data Set for More than one Data Adapter?

6 Answers  


describe about the ado.net object model

4 Answers   TCS,


Why do we need ado.net?

0 Answers  


What is method to get XML and schema from Dataset? getXML() and get Schema ()

0 Answers  






What are the 4 types of classes in ADO.NET?

5 Answers  


How to pass values into a datatable?

0 Answers  


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

0 Answers  


We all know that Dataset is purely disconnected architechure, but we also know that we can update the changes made to the dataset can be updated in the backend database. when there is no connection how does the update happedn?

6 Answers   Accenture, FastStream,


What are the advantages using ado.net?

0 Answers  


Which is faster datareader or dataadapter?

0 Answers  


If a dataset contains 100 rows, how to fetch rows between 10 and 20 only ?

14 Answers   Ksb,


Categories