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

List all the steps in order, to access a database through ado.net?

577


What is data relation in ado.net?

511


What are dcl commands?

503


Define partial class?

504


What are the usages of the command object in ado.net?

544






What is difference between ado.net and asp net?

508


How to connect and retrieve data from database using dataset

528


What is an ado?

514


What is XML serialization

583


How to generate a single aggregate?

535


What is the difference between oledb sql server and oledbdotnet provider?

494


What two types of data providers does ADO.NET supply? What determines which one you should use?

531


What are the ado.net components?

521


differance between ADO vs ADO.Net?

541


What is the default timeout specified for "sqlcommand.commandtimeout" property?

535