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 ado oledb and odbc?

933


What is an ado connection?

966


How to create dynamic gridview?

1025


What does ole stand for in excel?

1139


What is the difference between the clone() and copy() methods of the dataset class?

1082


What is ado.net connection?

954


Define Execute Scalar?

1007


What are advantages of microsoft-provided data provider classes in ado.net?

998


What is sqldatasource?

926


What is command class in ado.net?

1013


What is execute reader in ado.net?

957


How to identify the updated rows in a dataset?

1013


What are the types of databinding?

984


What is the role of the dataset object in ado.net?

1103


Which method is used to sort the data in ADO.Net?

1969