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 |
Give some salient points of difference between request processor and request dispatcher.
How to disable cut, copy and paste in TextBox using jQuery in asp.net?
What is application variable?
What is versioning in .NET?
1 Answers Syntax Softtech, Wipro,
Explain the difference between debug.write and trace.write?
What is different in .net 1.1 and .net 2.0?
What are PDBs? Where must they be located for debugging to work?
What is the difference between Postback and Ispostback Property?
7 Answers Atrocity Apps Technologies, DC Infotech, HCL, Maples, Visual Soft,
What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed.
Disable browser cache for entire ASP.NET website?
What is strong-typing versus weak-typing? Which is preferred? Why?
What is the difference between a Stored procedure and function?
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)