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 challenging situation you faced in your career?

3 Answers   Calsoft, HP, Satyam, Wipro,


Suppose, I have 3 pages, Page1.aspx, Page2.aspx, Page3.aspx. All pages are in diff. server. When user req. for a page, Page1.aspx opens Ist & a session established. If user req. for IIn page, second session established. Similarly, 3rd session established if user req. 3rd page. In this scenario, tot. 03 sessions are established. How we can minimize it so that it will work with only one session?

3 Answers   TCS, Wipro,


what is difference between java and .net

11 Answers   Base2 Infotech, Karur Vysya Bank KVB, TATA AIG, TCC,


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

0 Answers   AlKhaleej, Swatz Oils,


What are the advantages and disadvantages of Using Cookies?

0 Answers   MCN Solutions,






True or False: A Web service can only be written in .NET?

5 Answers  


what is session . how it is use ?

3 Answers   TCS,


Explain the use of duration attribute of @outputcache page directive.

0 Answers  


What is Web Server Control Templates.?

0 Answers   MCN Solutions,


What is binding in web service ?

1 Answers   TCS,


What are the file extensions for razor views?

0 Answers   NA,


What do you mean by authentication?

0 Answers  


Categories