DataTable转换成string[]形式C# codefor (int i 0 i dt1.Rows.Count i++){sa (string[])ArrayList
DataTable转换成string[]形式
C# code
for (int i = 0; i < dt1.Rows.Count; i++) { sa = (string[])ArrayList.Adapter((Array)dt1.Rows[i]["ModuleID"]).ToArray(typeof(string)); string s2 = "select * from ws_system where M_ParentID = " + sa[i] + ""; }