What do you know about ADO.NET's objects and methods?


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

Post New Answer

More ADO.NET Interview Questions

What two types of data providers does ADO.NET supply? What determines which one you should use?

0 Answers   CDC,


What is data reader in ado.net?

0 Answers  


What is ado and dao?

0 Answers  


What is the default Timeout for SqlCommand.CommandTimeout property?

0 Answers  


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,






Features and disadvantages of dataset?

2 Answers   CarrizalSoft Technologies, Infosys, Microsoft, Sampath Software,


What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?

0 Answers  


What are the steps in connecting to database?

3 Answers   IBM, Microsoft,


What are the core objects of ADO.NET?

0 Answers  


What Is Difference Between Ado And Ado.net?

0 Answers   BirlaSoft,


What are basic methods of dataadapter?

0 Answers  


differences between ADO and ADO.NET

0 Answers   Microsoft,


Categories