What is the difference between linq and ado.net?
No Answer is Posted For this Question
Be the First to Post Answer
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 parameter of ConnectionString is used to specify the name of the database?
What is different between sqlcommand object and command behavior object?
Can you edit data in the Repeater control?
What are the functions of oledbdataadapter?
Define the executescalar method?
What is fill method in ado.net?
What are all the different authentication techniques used to connect to MS SQL Server?
How we can provide data to ado.net?
What are the three Objects of ADO.
What are typed and untyped dataset?
How do you update a dataset in ado.net and how do you update database through dataset?
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)