Are monkey testing & gorilla testing same? If not, then what is the difference between these two?
29 55357How 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 16184Post New TCS Interview Questions
Who is the oldest cosmonaut?
Give an example of frequently used spring annotations.
Explain the difference between a Thread and a Process.
What is xml data in word?
You don't have the complete expereince we require. Its a concern. How would you handle this?
Explain the meaning of assertion in selenium and what are the types of assertion?
Explain the various objects in dataset.
What is tempdb in sql server?
what is differnce btwen lll and lllg faults
How long would you stay with Capital One?
How would you copy the content of one repository to another repository?
What is dependency in spring?
How do you escape a character?
What is ngonchanges in angular 2?
Could you explain me about responsive layout?