关于DataGrid转换DataRowView出错,求指教
wpf吧
全部回复
仅看楼主
level 1
Men_残文
楼主
if (this.dg.CurrentCell != null)
{
int i = dg.SelectedIndex;
DataRowView drv = (DataRowView)dg.SelectedItem ;
MessageBox.Show(drv.Row.Table.Rows[i]["DVRI_DVRID"].ToString());
,转换为DataRowView时候出错。
2017年05月23日 02点05分
1
level 1
Men_残文
楼主
相关错误提示,困扰我几天了
2017年05月23日 02点05分
2
1