What are the functions of oledbdataadapter?
Answers were Sorted based on User's Feedback
Answer / ansu kumar
function are
fill
update
clear
eg
dataadapter1.fill(dataset1)
dataadapter1.update(dataset1)
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / muthu kumar
Adapter Methods
1.fill
2.dispose
3.fillSchema
4.getType
5.toString
6.equals
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / muthu kumar
Adapter Methods
1.fill
2.dispose
3.fillSchema
4.getType
5.toString
6.equals
7.update
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ranjeet kumar panda
CreateObjRef: Creates an object that contains all the
relevant information required to generate a proxy used to
communicate with a remote object. (Inherited from
MarshalByRefObject.)
Dispose: Overloaded. Releases the resources used by the
Component. (Inherited from Component.)
Equals : Overloaded. Determines whether two Object
instances are equal. (Inherited from Object.)
Fill : Overloaded. Fills a DataSet or a DataTable.
(Inherited from DbDataAdapter.)
FillSchema : Overloaded. Adds a DataTable to a DataSet
and configures the schema to match that in the data source.
(Inherited from DbDataAdapter.)
GetFillParameters : Gets the parameters set by the user
when executing an SQL SELECT statement. (Inherited from
DbDataAdapter.)
GetHashCode: Serves as a hash function for a particular
type. GetHashCode is suitable for use in hashing algorithms
and data structures like a hash table. (Inherited from
Object.)
GetLifetimeService : Retrieves the current lifetime
service object that controls the lifetime policy for this
instance. (Inherited from MarshalByRefObject.)
GetType : Gets the Type of the current instance.
(Inherited from Object.)
InitializeLifetimeService: Obtains a lifetime service
object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
ReferenceEquals : Determines whether the specified
Object instances are the same instance. (Inherited from
Object.)
ResetFillLoadOption : Resets FillLoadOption to its
default state and causes Fill to honor
AcceptChangesDuringFill. (Inherited from DataAdapter.)
ShouldSerializeAcceptChangesDuringFill : Determines
whether the AcceptChangesDuringFill property should be
persisted. (Inherited from DataAdapter.)
ShouldSerializeFillLoadOption : Determines whether the
FillLoadOption property should be persisted. (Inherited
from DataAdapter.)
ToString : Returns a String containing the name of the
Component, if any. This method should not be overridden.
(Inherited from Component.)
Update : Overloaded. Calls the respective INSERT,
UPDATE, or DELETE statements for each inserted, updated, or
deleted row in the DataSet. (Inherited from
DbDataAdapter.)
Finalize: Releases unmanaged resources and performs
other cleanup operations before the Component is reclaimed
by garbage collection. (Inherited from Component.)
GetService : Returns an object that represents a service
provided by the Component or by its Container. (Inherited
from Component.)
MemberwiseClone : Overloaded. (Inherited from
MarshalByRefObject.)
| Is This Answer Correct ? | 0 Yes | 0 No |
How to store data in memory?
OleDbDataAdapter ole=new OleDbDataAdapter(new OleDbCommand ("select * from login",oleDbConnection1)); OleDbCommandBuilder cmd=new OleDbCommandBuilder(ole); ole.Fill(dataSet11,"login"); DataRow drow=dataSet11.Tables ["login"].NewRow(); drow[0]=textBox1.Text; drow[1]=textBox2.Text; drow[2]=textBox3.Text; dataSet11.Tables["login"].Rows.Add (drow); ole.UpdateCommand=cmd.GetUpdateCommand(); ole.Update(dataSet11,"login"); MessageBox.Show("one row added"); this gives exception.how to solve it
Which is faster sqldataadapter and sqldatareader?
Difference between function and trigger?
How to add a javaScript function in a datagrid?
What are the different layers of ado.net?
Explain the differences between oledb sql server, oledbdotnet provider?
How can we check that some changes have been made to dataset since it was loaded?
How can I retrieve two tables of data at a time by using data reader? Data reader read and forward only, how is it possible to get 2 tables of data at a time?
What is sequence of code in retrieving data from database ?
3 Answers Accenture, BirlaSoft,
WHAT Are the major major compnents of a data provider in ADO.net.
What is the role of clr?
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)