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
What are the namespace classes used in asp.net mvc? : asp.net mvc
How you will improve web application performance?
What is postback in asp net?
What is the difference between viewstate and hidden field in asp.net?
Explain about Application and Session Events ?
Explain the purpose of storyboard.targetproperty.
What is jade template engine?
What are the properties of the eventargs argument when capturing keyboard events?
When cookie will expire?
What is variable and constant in .net programming language?
What are ASHX files?
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
What is the difference between session and application?
How many types of cookies are there in asp.net?
What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.