Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Mind Tree ADO.NET Interview Questions
Questions Answers Views Company eMail

How 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 15004

Post New Mind Tree ADO.NET Interview Questions


Mind Tree ADO.NET Interview Questions


Un-Answered Questions

What is Infopath forms?

442


What is the file extension for a feature file?

201


What is difference between arraylist and list in java?

573


How much will flex builder 3 cost?

5


How to delete browser cookies with selenium web driver?

461






please send the last 5 years {{{JUNIOR ENGINEER GRADE II - MECHANICAL RRB CHENNAI}}} TECHNICAL question papers

1716


What are the different types of measures in the modeling view?

49


Does python support switch or case statement in Python? If not what is the reason for the same?

499


How would you create Visual basic Document file?

1892


What is pig latin statements?

286


How many types of files are there?

468


How do I edit text in a jpeg image in powerpoint?

111


What is the difference between string and string in c#?

463


What are lvalue and rvalue?

1


What is your view of project management?

603