What is the use of mcommand ?
mcommand.fill(ds,"orderdetails");
Answer / 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 |
What are query strings used for?
Write a code for passing ArrayList in Web API?
can i use store procedure in disconnected mode? give me answer
Differentiate strong typing and weak typing
What are uri parameters?
How to implement role based security in asp.net mvc? : Asp.Net MVC
What is viewstate information stored?
What is skin in asp.net?
What is the Global ASA(X) File?
Can we set which type of comparison we want to perform by the CompareValidator control?
What does uri mean?
What are the advantages and disadvantages of Using Cookies?