Advantage of ADO.Net?2 9498
How would u connect to database using .NET?5 7322
Difference between DataReader and DataAdapter / DataSet and DataAdapter?3 30298
What are the differences between RAW, AUTO and Explicit modes in retrieving data from SQL Server in XML format?1 18425
Differences between dataset.clone and dataset.copy?2 6069
What are the two fundamental objects in ADO.NET?8 19496
Call a stored procedure from ado.net and pass parameter to it ?7 20618
Where does ADO.NET and XML web services come in the architecture ?1 10261
What does ADO.NET consists of ?7 10399
What is the key feature of ADO.NET compared to ADO ?3 6569
What is ODP.NET ?1 7781
What provider ADO.net use by default?10 18573
What is the default view of Data Grid?5 11247
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();2 14127
How does cloud computing provides on-demand functionality?
How do I remove a second operating system from my computer?
Which cpu used in blackberry technology?
What is ieee?
what is a dimension and a dimension value?
Explain about serializable interface in java?
How node.js works?
What are class members by default?
How to call two different views from same action?
How to get help on debugger commands?
How to test odbc dsn connection settings?
Explain how to purge deleted messages automatically in Outlook?
What is the use of all pass filter?
What is the mission of testing?