No Answer is Posted For this Question
Be the First to Post Answer
What is a dynaset in access?
what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?
What are the steps you will take to improve performance?
Data reader read and forward only, how is it possible to get 2 tables of data at a time?
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.Controls; 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 is untyped dataset?
What is data control techniques?
Explain ado.net features?
What does ado stand for?
how to keep track of index in listbox items.
what is type dataset?
What are disadvantages of microsoft-provided data provider classes in ado.net?