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 applicatio domain?
what is view stat? how it is use.
Difference between .NET and previous version?
What is boxing and unboxing in asp.net?
How many Controls present in Asp dot net?
what is the assembly?
How you will handle session when deploying application in more than a server? Describe session handling in a webfarm, how does it work and what are the limits?
What is the difference between executescalar and executenonquery?
How would you implement inheritance using VB.NET/C#?
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
what is an Eventbubbling?
What is dataset ?
18 Answers Infosys, Kuwait University,
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)