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 mcommand ?

mcommand.fill(ds,"orderdetails");

Answer Posted / purushotham

mcommand is DataAdapter

DataAdapter object is like a bridge that links the database
and a Connection object with the ADO.NET-managed DataSet
object through its SELECT and action query Commands. It
specifies what data to move into and out of the DataSet.
Often, this takes the form of references to SQL statements
or stored procedures that are invoked to read or write to a
database.
The DataAdapter provides four properties that allow us to
control how updates are made to the server:
* SelectCommand
* UpdateCommand
* InsertCommand
* DeleteCommand

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to fetch a data from one table to another table in asp.net ?

1032


Why is the standalone environment only useful during the development process?

1818


What is routing in MVC?

1014


Does asp.net still recognize the global.asa file?

1090


What is a swagger in web api?

1040


What is inheritance and an how it be used, example with an example?

1043


Write a code snippet to implement the indentation in json in web api.

1047


Which methods validate all the controls on a page?

964


What is difference between ispostback and autopostback in asp net?

1019


Write the different features of a Thread and a Process?

1130


Explain diff. Between friend and protected friend?

919


What is the use of the tag in the web.config file?

948


What is the differences between a primary key and a unique key in sql server?

1064


What is request and response in asp.net?

944


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

1047