标签:ar 数据 ad new as table text c class
string [] an = {"a","b","c"};
DataTable dt = new DataTable();
dt.Columns.Add("Number");
froeach(string var in an)
{
DataRow r = dt.NewRow();
r["Number"] = var;
dt.Rows.Add(r);
}
DataSet ds = new DataSet();
ds.Tables.add(dt);
标签:ar 数据 ad new as table text c class
原文地址:http://www.cnblogs.com/zhangjinpeng/p/4074335.html