what is different between SqlCommand object and Command
Behaviour Object

Answer Posted / gyany

CommandBehaviour:-
Provides a description of the results of the query and its
effect on the database.
Like,
To Forcibly close the Connection=
Command cmd=new Command
("SQL",conn,CommandBehaviour.CloseConnection);

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of SqlCommandBuilder?

846


Difference between sqlcommand and sqlcommandbuilder?

779


What does executereader return?

710


What is Data view?

768


differences between ADO and ADO.NET

781


What are the pre-requisites for connection pooling?

716


What are the different methods available under the sqlcommand class to access the data?

768


How to work with disconnected data - the dataset and sqldataadapter?

719


how we can fire event in databound coulm in datagfrid withot using button?

736


Explain the difference between sqlcommand object and command behavior object?

736


How do you update a dataset in ado.net?

747


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

747


Is ado.net an orm?

704


Define isolation?

732


What is the difference between ado.net and entity framework?

748