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 |
What is the use of global.asax file?
What is asp.net file?
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.
Explain how is a property designated as read-only?
Is a dll file an executable?
Describe a bubbled event and how it is used ?
How will you load dynamic assembly? How will create assesblies at run time?
Describe how ASP.NET maintains process isolation for each Web application?
How can we use Web API with ASP.NET Web Form?
What is dataset and uses of dataset ?
Why do you use the app_code folder in asp.net?
What is boxing and unboxing?