Question - What are the different execute methods of Ado.Net?
Answer -
Following are different execute methods of ADO.Net command object:
- ExecuteScalar – Returns single value from the dataset
- ExecuteNonQuery – Returns result set from dataset and it has multiple values
- ExecuteReader – Forwardonly resultset
- ExecuteXMLReader – Build XMLReader object from a SQL Query