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 the difference between cache and cookies?
Which is better session or viewstate?
Describe how to implement globalization and localization in the use interface in .net.
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
Write code to send e-mail from an asp.net application?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
What are the types of session in asp.net?
What are sessions and cookies?
Why do we need Sessions?
How ASP and ASP.NET page works? Explain about asp.net page life cycle?
How asynchronous call can be implemented using delegates?
What do you mean by authentication?
If you want to write your own dot net language, what steps you will you take care?
What is server infrastructure & server components?
Can you set which type of comparison you want to perform by the comparevalidator control?