What is ado.net in mvc?
No Answer is Posted For this Question
Be the First to Post Answer
What provider ADO.net use by default ?
5 Answers Accenture, BirlaSoft, Wipro,
How can you add or remove rows from the datatable object of dataset?
What connected data?
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();
How do you implement locking concept for dataset?
What are the steps in connecting to database?
How to perform sorting on a table in ADO.NET?
0 Answers Petranics Solutions,
what are types of Dataset ?
how to display empty table to datagrid
What you mean by filtering of data?
What is the default timeout specified for "sqlcommand.commandtimeout" property?
What are two types of transaction supported by ado.net?