Are monkey testing & gorilla testing same? If not, then what is the difference between these two?
29 56030How 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 16279Post New TCS Interview Questions
What do you mean by a deinitializer?
Can you just explain about memory management in iOS?
When I press power button on laptop nothing happens?
Short Answer on __________written Down value
What are hydrides of boron called?
What is laravel api rate limit?
What does the use of ms70 followed by mcec get you?
How are non-atomic and atomic properties different? Which one is the default property for synthesized properties? When would a user operate one over the other?
Which types of jdbc databases does weblogic jms support?
Whats is output for typeof (null)?
What is the linking function and what are the types of linking function?
what types of security measures are provided with silverlight?
What are the different algorithms used for clustering?
What Are Cross Validation & Adi?
How use xml data in excel?