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

What is ado.net architecture?

492


What are the advantages and disadvantages of using datalist?

527


What is a data control clerk?

572


What is ado connection?

505


Define executenonquery?

521






What is the purpose of using adodb?

504


What are the namespaces used in ADO.Net to connect to a database?

599


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

535


What are all components of ADO.Net data provider?

607


How would you connect to database using .NET?

570


What is difference between datatable and dataset?

526


What are the advantages using ado.net?

537


Why is stored procedure used in ado.net?

549


Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.

555


Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?

619