标签:oftype row datatable name col eof ring [] string
DataTable dt = new DataTable();
dt.Columns.Add("name",typeOf(string));
dt.Rows.Add(dt.NewRow()["name"]="jack");
string[] names=dt.Rows.ofType<DataRow>().Select(r=>r["name"].ToString()).ToArray();
标签:oftype row datatable name col eof ring [] string
原文地址:https://www.cnblogs.com/yyxhgy/p/9814934.html