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 is .net remoting?
Why do you use the app_code folder in asp.net?
What's the use of response.output.write()?
What is intrinsic objects in asp.net?
What is the difference between client-side and server-side validations in webpages?
What is a postback url?
What is the exact purpose of http handlers?
What is state management react?
Explain server control extensibility with reference to asp.net 2.0 ?
What are the validation controls available in ASP.NET?
Explain different authentication modes in asp.net?
Explain some of the major built-in objects in asp.net
What threading model used in asp and asp.net?
What is difference cookie and session?
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?