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 asp.net and how it works?
How do you hide the columns?
When cookie will expire?
Explain the differences between clr & cts?
What are the Types of object in asp
Which library is used by the testers and developers to develop automated tests and create testing tools?
Define a multilingual website?
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?
Which method is used to enforce garbage collection in .net?
Why we are using mvc instead of asp.net? : Asp.Net MVC
What is ascx?
Is asp.net different from asp? If yes, explain how?
What are the differnt types of handler in ASP.NET?
How you can stop the validation of ASP.NET controls from client side?
Define resource files.