What Is Difference Between Ado And Ado.net?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the two fundamental objects in ado.net?
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();
What are the main differences between classic ado and ado.net?
What is the default view of Data Grid?
What is difference between connected and disconnected architecture in ado.net?
What are the benefits of using ado.net?
What is defaultview in datatable?
What providers do you use to connect to oracle database ?
Explain the basic use of "dataview" and explain its methods.
What is microsoft ole db provider for sql server?
Explain the dataadapter class in ado.net?
What are the rules to implement connection pooling?