What do you know about ADO.NET's objects and methods?
No Answer is Posted For this Question
Be the First to Post Answer
What two types of data providers does ADO.NET supply? What determines which one you should use?
What is data reader in ado.net?
What is ado and dao?
What is the default Timeout for SqlCommand.CommandTimeout property?
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();
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?
What are the steps in connecting to database?
What are the core objects of ADO.NET?
What Is Difference Between Ado And Ado.net?
What are basic methods of dataadapter?
differences between ADO and ADO.NET