DataTable数据排序和过滤

DataRow[] rows = dsCourse.Tables[0].Select(" pxbid=" + pxb.ID);



 foreach (DataRow row in rows.Cast<DataRow>().OrderBy(r => int.Parse(r["complete"].ToString())))

猜你喜欢

转载自www.cnblogs.com/sharing1986687846/p/9144073.html
今日推荐