Explain the role of data provider in ado.net?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More ADO.NET Interview Questions

Which is the best institute in hyderabad to learn DotNet?

11 Answers   Cognizant,


How To Update A Column In A DataGrid Using C#.NET? I am getting InvalidCastException as (Specified cast is not valid) while updating 2nd column in a datagrid? Id,firstname,lastname are the three columns of my datagrid respectively. I wanted to edit the second column(lastname) and update it. I did the following code in DataGrid's updatecommand(),but failed to update ! Int varid=(int)DataGrid1.DataKeys[e.Item.ItemIndex]; TextBox lnm=(TextBox)e.Item.Cells[2].Controls[0]; string str=lnm.Text ; SqlCommand cmd=new SqlCommand("update customer set lastname='" + str + "' where id=" + varid + "",con); cmd.ExecuteNonQuery(); DataGrid1.EditItemIndex=- 1; DataGrid1.DataBind();

2 Answers   Mind Tree, TCS,


About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data ?

1 Answers   MMTS,


How does entity framework work?

0 Answers  


What is a datareader object?

0 Answers  






What is execute scalar in ado.net?

0 Answers  


How can we load multiple tables in a dataset?

0 Answers  


What are the Different layers in ADO.Net?

10 Answers   eXensys,


Can you edit data in the Repeater control?

9 Answers  


What are the steps in connecting to database?

3 Answers   IBM, Microsoft,


Which method do you invoke on the DataAdapter control to load your generated dataset with data?

5 Answers   IBM, Veegyapan Impacts,


What is ado and rdo?

0 Answers  


Categories