Are monkey testing & gorilla testing same? If not, then what is the difference between these two?
29 48018How 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 15016Post New TCS Interview Questions
What is the benefit of dependency injection c#?
why transformer ratings in kva? & DG ratings in kva? & Motor ratings in kw/HP?
How can sedimentary processes concentrate and form resources?
How do I remove administrator account?
pharmacovigilance opportunities in Hyderabad
How do I fix isdone dll in windows 10?
When was the second and third experimental explosion conducted?
Why do you use session tracking in httpservlet?
What is your edge among others who are applying here?
How many dimensions can be used in bar chart?
Why is it that it is not advisable to use root as the default login?
What is the use of work center in erp system with respect to supply chain management process? : supply chain management
Where do we use multiple counter maintenance plans? Explain with an example?
How can you get the attribute value of a model?
Hello, I need to compare, using a cobol program, two cobol skeletons. I don't know if it is easy to do this or it will be so complicated. I wanna have your opinions. Thanks a lot