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 use of global.asax file?

0 Answers  


What is asp.net file?

0 Answers  


When working with ASP.Net server controls, it is important to use the right event handlers to capture the event for the application to function properly. What event would you use to capture the selection of a new item in a DropDownList control? a) The Click event. b) The SelectionChanged event. c) The SelectionIndexChanged event. d) The ChangedSelection event.

4 Answers   Syntax Softtech,


Explain how is a property designated as read-only?

0 Answers  


Is a dll file an executable?

0 Answers  






Describe a bubbled event and how it is used ?

0 Answers   Siebel,


How will you load dynamic assembly? How will create assesblies at run time?

0 Answers  


Describe how ASP.NET maintains process isolation for each Web application?

0 Answers   B-Ways TecnoSoft,


How can we use Web API with ASP.NET Web Form?

0 Answers  


What is dataset and uses of dataset ?

6 Answers   HCL, TCS,


Why do you use the app_code folder in asp.net?

0 Answers  


What is boxing and unboxing?

3 Answers   Patni,


Categories