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

On ODP.net ?

1 Answers   MMTS,


What are the objects of ado.net?

0 Answers  


What are different layers of ADO.Net?

0 Answers  


Define connection string?

0 Answers  


differences between ADO and ADO.NET

0 Answers   Microsoft,






How to connect and retrieve data from database using dataset

0 Answers  


What is datacolumn and how it is used?

2 Answers  


Do you use stored procedure in ado.net?

0 Answers  


What is the difference between connected environment and a disconnected environment?

2 Answers  


What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?

2 Answers  


How we can provide data to ado.net?

0 Answers  


What is ado in agriculture?

0 Answers  


Categories