Are monkey testing & gorilla testing same? If not, then what is the difference between these two?
29 55465How 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 16197Post New TCS Interview Questions
What is difference between xml and xsl?
What is the target antigen for b cell lymphoma?
What operations does the "RDD" support?
Write the significance of electrochemical series? : Electrochemistry Corrosion
Can flex applications communicate with each other on the client? : adobe flex action script
Explain how can you align picture so that one may be higher or lower than the other?
What kind of question can be asked at the time of Interview for State Bank Of India Clerical Interview
What are the compressor and types?
How do we write our own custom serde?
What is the use of writing sharing rules? Can you use sharing rules to restrict data access? : salesforce crm
Can I uninstall visual c++?
Explain ms-idn in gsm technology?
What is python main function and write one good example?
Why is null pointer used?
Is spooler subsystem app a virus?