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 the role of data provider in ado.net?

552


What is the difference between DataReader and DataSet in ADO.NET?

590


What are datareaders?

534


What do you mean by ‘batch updates’?

513


What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?

533






What is ado.net and its features?

503


What are the key events of sqlconnection class?

616


What is ado.net code?

523


What are all the different methods under sqlcommand?

522


What is commandbuilder in ado.net?

526


What is a column variable?

505


What is dbcontext and dbset in entity framework?

486


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

558


Explian About DataAdapters

588


If we are not returning any records from the database, which method is to be used?

758