Click here to Skip to main content
15,948,339 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to edit multiple cells in datagrid?
first i have to edit single cell so i used
C#
command.CommandText = "update leaveapplication set status='" +
 dataGridView1.Rows[0].Cells[8].Value + "' where applicationno='" +
 dataGridView1.Rows[0].Cells[0].Value + "'";

Now i want to edit muliple cell at a time .please help
Posted
Updated 13-Apr-14 3:41am
v2
Comments
Maciej Los 13-Apr-14 9:41am    
What?
Please, provide more details in more understandable way.
guru14 13-Apr-14 9:56am    
How to Edit and Update DataGridview in winform using c# .
If click Update it is Changed in the database also...

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900