c# 将Datarow转成Datarowview

DataRowView rowview= dataTable.DefaultView.Cast<DataRowView>().Where(a => a.Row == tmprow).FirstOrDefault();

 

posted @ 2019-06-04 16:53  liuyong111  阅读(2490)  评论(0编辑  收藏  举报