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 is the difference between CC and BCC?

0 Answers   MCN Solutions,


What is asp.net and how it works?

0 Answers  


What are Http handler ?

1 Answers   Patni,


Why session is necessary in web application?

0 Answers  


What you mean by partial Class in asp.net 2.0?

3 Answers   TCS,






How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?

0 Answers  


what is the use of untyped data set ?

5 Answers   TCS, Wipro,


What is HTTPModule and HTTPcontext? What is the use of each?

0 Answers   Accenture,


can sn.exe can be used before gacutil.exe

2 Answers   Accenture,


How do you use viewstate?

0 Answers  


What is different authentication mechanisms used in ASP.NET?

0 Answers   Amdocs,


Code for updating the database by entering the data into textboxes in aspx form?

2 Answers   TCS, Wipro,


Categories