Update students' basic information

xiaoxiao2021-03-06  41

Private void Button1_Click (Object Sender, System.Eventargs E)

{

String Professionalway = this.dropdownList1.selectedValue.trim (). Tostring ();

INT I, J, K;

// system.datetime datetime = datetime.parse ("8/6/1986");

DataSet DSPRO = TeachingRes.getProfessionalway (Professionalway, "," ");

INT pronum = dspro.tables [0] .Rows.count;

For (i = 0; i

{

String pro = dspro.tables [0] .rows [i] .ItemRay [0] .tostring ();

String newstudentsn = Pro.trim () "000";

DataSet DSClass = TeachingRES.GetClass (Pro);

INT classnum = dsclass.tables [0]. ROWS.COUNT;

For (j = 0; j

{

String classno = dsclass.tables [0] .rows [j] .ItemRay [0] .tostring ();

DataSet DSStudent = studentinfo.findstudent (", Classno,", "");

Int studentno = dsstudent.tables [0]. ROWS.COUNT;

For (k = 0; k

{

INT SN = int32.Parse (newstudentsn) 1;

Newstudentsn = sn.tostring ();

// studentinfo.updatathast (newstudent,)

String studentsn = dsstudent.tables [0] .rows [k] .ITEMARRAY [0] .tostring ();

StudentInfo.updatathast (StudentSn, Newstudentsn, ",", ",", ",", ",", ",", ",", "," "" "", ",", "" ");

}

}

}

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

New Post(0)