你试试用:
BindingManagerBase bm = this.dataGrid1.BindingContext[this.dataGrid1.DataSource, this.dataGrid1.DataMember];
DataRow dr = ((DataRowView)bm.Current).Row;
就是取当前行.
BindingManagerBase bm = this.dataGrid1.BindingContext[this.dataGrid1.DataSource, this.dataGrid1.DataMember];
DataRow dr = ((DataRowView)bm.Current).Row;
就是取当前行.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货