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

What is Data Provider?

1089


What is a sqldataadapter?

1052


What is the difference between Datareader and Dataset?

1124


What is data relation in ado.net?

1134


Which parameter of ConnectionString is used to specify the name of the database?

1113


Can you explain how to enable and disable connection pooling?

1006


Explain what is datagrid with an example?

1143


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

1094


differences between ADO and ADO.NET

1126


What is the difference between ADO and ADO.Net?

1119


What is execute scalar in ado.net?

1015


Define different execute methods of ADO.NET command object ?

1162


What is ado recordset?

1058


How can we load multiple tables in to dataset?

1140


What is the functionality of data provider in ado.net?

988