【发布时间】:2012-07-04 16:45:17
【问题描述】:
我的源在 MySQL 数据库中,我已发出更新命令,现在我需要刷新我的 DataGrid。
MySqlCommand cmd = new MySqlCommand(
"update request set status = " + StatusRequest(value) +
" where id = " + rowView[0].ToString() + "", conn);
MySqlDataReader myReader = cmd.ExecuteReader();
如何刷新我的DataGrid?
【问题讨论】:
标签: c# mysql wpf ado.net wpfdatagrid