C#获得DataTable的key值
2021-06-17 09:05
阅读:746
标签:for int datatable pre style add bsp list col C#获得DataTable的key值 标签:for int datatable pre style add bsp list col 原文地址:https://www.cnblogs.com/jishugaochao/p/10334065.html
//获得dataTable的key值
Liststring> keyList = new Liststring>();
for (int i = 0; i )
{
keyList.Add(dt.Columns[i].ColumnName);
}
评论
亲,登录后才可以留言!