what are the two key events for the sql connection class?
explain the differnce between the two.
Answer Posted / srikanth r
The two key events are InfoMessage and StateChange events.
InfoMessage event occurs when informational message is
returned from data source that do not results in throwing
an exception.
StateChange event occurs when there is a change in
Connection to the data source.
Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
What is the role of data provider in ado.net?
What is the difference between DataReader and DataSet in ADO.NET?
What are datareaders?
What do you mean by ‘batch updates’?
What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?
What is ado.net and its features?
What are the key events of sqlconnection class?
What is ado.net code?
What are all the different methods under sqlcommand?
What is commandbuilder in ado.net?
What is a column variable?
What is dbcontext and dbset in entity framework?
Explain how to bind the controls(best practice) comboboxes to the data in the dataset?
Explian About DataAdapters
If we are not returning any records from the database, which method is to be used?