The deletion method of the Microsoft, a TreeView node.

xiaoxiao2021-03-06  101

Public void deltreenodes (STRING SID) ?? {?????? String SQL; ??? SqldataReader DRCHILD = Super.GetDataReader ("SELECT * HR_STUDY_DIR WHERE PARENTID =" SID); ??? While (DRCHILD.READ ()) ??? {???? Deltreenodes (DRCHILD [0] .tostring ()); ???} ??? sql = "delete? hr_study_dir where hrid =" SID; ??? super.runsql SQL); ??? super.close ();

??}

转载请注明原文地址:https://www.9cbs.com/read-123594.html

New Post(0)