What is ole data type?
No Answer is Posted For this Question
Be the First to Post Answer
What is read only and forward only in ado.net?
How to fetch the last inserted record in a particular table?
10 Answers CarrizalSoft Technologies, Microsoft,
Explian About DataAdapters
What are the different execute methods of 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();
Why is it important to close an ado.net application?
What is datacolumn and how it is used?
WHAT IS DIFF B/W VIEWS AND STORED PROCEDURE
What is difference between datatable and dataset?
What is ado in agriculture?
what is ado.net
What is datasource in ado.net?