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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

456


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

535


Explain the two fundamental objects in ado.net?

507


Which method is used by command class to execute SQL statements that return single value?

559


Explain the differences between oledb sql server, oledbdotnet provider?

554






Describe ado.net object model in detail.

534


What is sqldatasource?

523


What are the drawbacks of using ado.net?

545


describe the dataset object in ado.net.

522


Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?

635


Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.

558


What is the meaning of executenonquery?

540


What is meant by executenonquery?

529


Which object of ado contains datarow datacolumn collection?

518


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

558