static DataColumn column = new DataColumn(); static DataTable table = new DataTable(); static DataRow MyRow; public static DataTable GetCategoryTree(WebInfoBase info) { DataTable dt = info.List(_DefaultDB, "", "[ID],[Title],[ParentID],[ChildNum],[Depth],[OrderNo]", "&version=", "[ID] ASC"); if (table.Rows.Count > 0) { table.Columns.Clear(); table.Rows.Clear(); } CreateDataTable(); GetTree(dt, "0", 0); return table; } public static void GetTree(DataTable dt, string pid, int blank) { string str = " "; DataView dv = new DataView(dt); dv.RowFilter = "ParentID = " + pid; if (blank > 0) { string s = ""; if (blank == 1)