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


Please Help Members By Posting Answers For Below Questions

Which is better ole db or odbc?

505


What is ado.net and its features?

505


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

510


Which provider is used to connect ms access, oracle, etc…?

532


How to load multiple tables into a dataset?

546






What is csdl entity framework?

559


How to add a check box or a dropdown list to a column in a datagrid?

541


What are good ado.net object to replace to ado recordset object.

576


What is meant by executenonquery?

533


How do you update a dataset in ado.net and how do you update database through dataset?

493


What are the Data providers in ADO.Net?

557


Explain which name space is used to get assembly details?

530


What are the data providers used in ado.net

548


Explain the namespaces in which .net has the data functionality class.

543


Explain the difference between sqlcommand object and command behavior object?

545