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 |
How cross page posting is done in Asp.net 2.0?
What is the use of sessionstate tag in the web.config file?
What are the two properties that are common on every validation control?
What is in a session cookie?
What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.
What are web beacons used for?
What is session and application variable in asp net?
Can we override the enablepartialrendering property of the scriptmanager class?
Where web.config file is used?
In which situation can you not use a viewstate?
• What Session State providers are available in ASP.NET? What are the pros and cons of each?
How do you retrieve information from web.config ?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)