datagridview里怎么删除行,不删数据库里的东西 datagridview是绑定数据库,里的id和note字段如何只删除datagridview里的行, 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 数据库=》DataTable=》DataGridView。操作时,只操作DataTable.欢迎加入QQ群:89409630高手一堆 删除datatable的row,只要您不update,就不会更新到数据库,当然还可以不绑定数据库,直接添加Row,那样你怎么操作也不会影响数据库 我是用datatable绑定的。。具体怎么做 那你直接选中行DEL不就可以了吗 dataGridView1.Rows.Remove(dataGridView1.CurrentRow); dataGridView1.Rows.Remove(dataGridView1.SelectedRows[0]); dataGridView1.Rows.RemoveAt(dataGridView1.SelectedRows[0].Index); 求XML的基础学习资料推荐 有关泛型的Contains,求一个很好的写实现方法 c#怎么将winform设置为前置? 数据缓存的问题 急~~请问:MzTreeView树型控件在ASP.NET中怎么用? 如果在一个windows form里面实现HTML编辑功能 关于treeview的几个简单问题...... 线程挂起后,电脑死机~ 用C#调用Access数据库,用DrawCurve拟合曲线函数怎么有曲线回头的现象啊? c/s的datagrid中能不能加按钮列?怎么加?怎么触发按钮事件 各位大虾给看看这个问题,关于IIS 部署报错啦。。。 未处理 System.Exception
高手一堆
dataGridView1.Rows.Remove(dataGridView1.CurrentRow);
dataGridView1.Rows.RemoveAt(dataGridView1.SelectedRows[0].Index);