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 is the difference between CC and BCC?
What is asp.net and how it works?
What are Http handler ?
Why session is necessary in web application?
What you mean by partial Class in asp.net 2.0?
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
what is the use of untyped data set ?
What is HTTPModule and HTTPcontext? What is the use of each?
can sn.exe can be used before gacutil.exe
How do you use viewstate?
What is different authentication mechanisms used in ASP.NET?
Code for updating the database by entering the data into textboxes in aspx form?