Are monkey testing & gorilla testing same? If not, then what is the difference between these two?
29 55369How 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();
2 16185Post New TCS Interview Questions
Can WinMerge compare binary files?
What are the page windows?
What is the use of global containers in PI?
While taking hot backup (begin end backup) what will happens back end?
what is Modal plugin used for in Bootstrap?
What is the purpose of node.js module.exports?
What is dll in sql?
What is the difference between associative array and indexed array?
How can the Development and Implementation of the (IoT) be affected by Remote Updation of Software?
What are the four main types of production?
Whenever you install MSCRM what all user groups get created in Active Directory?
Filtering can be done with ?
What is meant by cyclo-converter?
what is the command syntax for inserting a document?
what types of assets are focuses in ibm maximo?