Day_20170106

代码记录

 

//DataTable查询出DataRow[]
DataRow[] drs = AllSysModuleDs.Tables[0].Select(string.Format("功能编号={0}", seFuncId));
//DataRow[]转换成DataTable给DataGridView提供数据源
dgvFuncList.DataSource =drs.Count<DataRow>()>0? drs.CopyToDataTable<DataRow>():null;

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2022-01-06
  • 2022-12-23
  • 2021-07-29
猜你喜欢
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案