What are the differences between RAW, AUTO and Explicit modes in retrieving data from SQL Server in XML format?
1 19118How 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 14962Post New TCS ADO.NET Interview Questions
Is wordpress completely free?
Do you receive good benefits as an engineer job?
What is xss and csrf?
Contact a small, medium, and a large contract program within your organization. Interview the Technical Director or Project Engineer to identify the following information: a. Request the individual to graphically depict their development strategy? b. What factors drove them to choose the implementation strategy? c. What were some of the lessons learned from developing and implementing the strategy that would influence their approach next time? d. How was the V & V strategy implemented?
What does the kill command do?
Which scripting language is best for linux?
Suppose you win $5 million lottery, then, would you still work?
Differentiate between operational datastage (ods) and data warehouse?
How the sub ledgers(AP, AR) integrate with GL liability and receivable
Classify the potato into fruits, roots, stem.
What are the main components of the designer interface?
Is node js a virus?
What are different functions that you can perform using work center?
What is a sticky broadcast? Give an example.
Tell me what you know about selenium?