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

What is execute reader in ado.net?

713


Which is faster dataset or datareader?

746


What is sqlconnection and sqlcommand?

743


What is the provider being used to access oracle database?

764


Explain the role of data provider in ado.net? What is the role of data provider in ado.net?

770


What is difference between ado and other data object?

695


What is ado in agriculture?

713


How to enable and disable connection pooling?

762


What is ado or jdbc?

719


What are the features of ado.net?

719


Explain how can we load multiple tables in to dataset?

722


Which is faster entity framework or ado.net?

722


Why do we serialize data?

716


What is sql connection in ado.net?

721


What is the usage of the dataset object in ado.net?

722