如何在datagrid中编辑多个单元格 [英] How to edit multiple cell in datagrid
本文介绍了如何在datagrid中编辑多个单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在datagrid中编辑多个单元格?
首先我必须编辑单个单元格所以我用了
How to edit multiple cells in datagrid?
first i have to edit single cell so i used
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
推荐答案
阅读多个单元格编辑自定义DataGridView [ ^ ]。
这篇关于如何在datagrid中编辑多个单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文