What is the difference in an abstract class and an interface?


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

Post New Answer

More ADO.NET Interview Questions

what is the syntax code to oledb to connect oracle

6 Answers   IBM,


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,


How to sort the data in Datatable

2 Answers   NetProphet,


What does datareader object do?

0 Answers  


Which are the different IsolationLevels ?

3 Answers  






What does sqldatareader return?

0 Answers  


What are the advantages and drawbacks of using ado.net?

0 Answers  


What are the advantages using ado.net?

0 Answers  


What is dataadapter in ado.net?

0 Answers  


What is partial class?

0 Answers  


How we can provide data to ado.net?

0 Answers  


How to maintain the relation between two tables in ADO.NET?

0 Answers   Petranics Solutions,


Categories