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 the current version of entity framework?

969


How to connect and retrieve data from database using dataset

1056


Is datareader faster than datatable?

966


Do we use stored procedure in ADO.Net?

992


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

1141


What is the difference between sqldatareader and sqldataadapter?

970


What is two way data binding android?

988


What are the different ado.net namespaces are available in .net?

1010


What is ado.net in mvc?

928


Which object of ado contains datarow datacolumn collection?

966


What is difference between connected and disconnected architecture in ado.net?

1156


What are the steps to connect to a database?

1024


How do you connect to sql server database without using sqlclient?

1114


What is ado.net connection?

962


What is data reader in ado.net?

1006