void _BGWorker_DoWork(object sender, DoWorkEventArgs e) { // 取得學生資料、學生電話、父母電話 _StudRec = JHStudent.SelectByID(PrimaryKey); _PhoneRec = JHPhone.SelectByStudentID(PrimaryKey); _ParentRecord = JHParent.SelectByStudentID(PrimaryKey); }
void BGWorker_DoWork(object sender, DoWorkEventArgs e) { _StudParentRec = JHParent.SelectByStudentID(PrimaryKey); }