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 |
Have u used webcontrols?Tell me something about these?
What are the event handlers that can be included in the Global.asax file?
what is diference between the .net1.0 & .net2.0 ?
How to create a permanent cookie?
Does google crawl redirects?
What is the significance of proxy user?
What is difference Data List and Data Repeater Control ?
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC
How to prepare culture-specific formatting in .net.
What are all the various Estimation Techniques available ?
Security types in ASP/ASP.NET? Different Authentication modes?
4 Answers QuadLabs Technologies,
What are Authentication mechanisms in .Net?
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)