Are monkey testing & gorilla testing same? If not, then what is the difference between these two?
29 48155How 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 15040Post New TCS Interview Questions
Explain the role of assembly in the .net framework.
how many time use of plywood shuttering and IS code
What is Rails?
What is the difference between responsibility-driven and data-driven approaches?
EXPLAIN WHY YOU CONSIDER YOURSELF SUITED FOR THIS POSITION:
How do I create a newsletter in word 2007?
Why do you want to work in adobe?
Write a command to rename the files in a directory with "_new" as postfix?
Can you explain function points?
What is a Relation Schema and a Relation?
What is the importance of the primary structure of a protein?
What is && in c programming?
What are the applications of rdbms?
What is the default maximum dynamic partition that can be created by a mapper reducer? How can you change it?
Explain an object, class and method.