What is the use of mcommand ?

mcommand.fill(ds,"orderdetails");



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

Post New Answer

More ASP.NET Interview Questions

What are query strings used for?

0 Answers  


Write a code for passing ArrayList in Web API?

0 Answers  


can i use store procedure in disconnected mode? give me answer

2 Answers  


Differentiate strong typing and weak typing

0 Answers  


What are uri parameters?

0 Answers  






How to implement role based security in asp.net mvc? : Asp.Net MVC

0 Answers  


What is viewstate information stored?

0 Answers  


What is skin in asp.net?

0 Answers  


What is the Global ASA(X) File?

2 Answers  


Can we set which type of comparison we want to perform by the CompareValidator control?

0 Answers   MindCracker,


What does uri mean?

0 Answers  


What are the advantages and disadvantages of Using Cookies?

0 Answers   MCN Solutions,


Categories