Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the use of command objects?

Answer Posted / sandyni

Command object is used to connect the connection object to
data reader or dataset. and is used to execute queries and
stored procedures which are defined in the commandtext
property.

the main methods for command object property are....

1. ExecuteNonQuery()
2.ExecuteReader()
3.ExecuteScalar()

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is datagrid with an example?

1046


What is sqlconnection and sqlcommand?

1016


What is dataset object? Explain the various objects in dataset.

991


What is fill method in ado.net?

933


What is difference between datatable and dataset?

998


How can we perform transactions in .net?

1007


How would you connect to database using .NET?

988


What is a data control clerk?

993


Explain which name space is used to get assembly details?

919


Why do we need ado.net?

917


Explain the role of data provider in ado.net?

947


What is row state?

933


What is ado.net full form?

942


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

1086


Name which operations can you not perform on an ado.net dataset?

935