/// ********************************************************* ************************ / / / DESCRIPT: // / / / / / / / / / / / / / / / / / / /// Author: blue.dream /// Createdate: September 6, 2004, 8:55:32 ///ModifyDate: October 6, 2004, 16:12:28 ////// ** *********************************************************** ******************** ///
// Initialize public ExecuteClass (DataTable st, int id, string parentid, string priid) {SourceTable = new DataTable (); SourceTable = st.Copy (); ID = id; ParentID = parentid; PriID = priid; ParentTable = new DataTable ("Parent"); ParentTable = st.clone (); ObjectTable = New DataTable ("Object"); ObjectTable = St.clone (); Execute ();
Public DataTable getResult {get {return this.objectTable;}} private void execute () {INSERTPARENT (ID); EXECUTEPARENT (ID); int LEN = ParentTable.Rows.count - 1; for (int i = len; i> = 0; i -) {data {data; for (int J = 0; j } Description: According to this, you can return all the first-class classification and subclassification lists of the tree table, as for how to implement, I will not write.