Are monkey testing & gorilla testing same? If not, then what is the difference between these two?
29 48122How 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 15034Post New TCS Interview Questions
Describe how passport authentication works.
EXPLAIN USE OF ROCKING ARRANGEMENT IN ELECTRIC HEATING?
List the types of roles and explain their uses?
Can you explain context in the universe?
Where we can display lightning component?
What is a dl list?
What are the various forms used for VAT?
Explain the basic concepts and hierarchy of memory?
What problems might the following macro bring to the application?
What is %02d?
Explain overhauling stopsfor backpull our pumps?
Why should we go for entity framework?
What is the need for indexing?
What is the difference between stalling and surging in rotary compressions ?
what is just in time in inventory management strategy to improve the ROI of a business