コード例 #1
0
 private void Reset()
 {
     TxtDate.Text = string.Empty;
     //DDstudent.SelectedItem.Text = string.Empty;
     TxtAdmsDate.Text    = string.Empty;
     TxtSclName.Text     = string.Empty;
     TxtStdName.Text     = string.Empty;
     TxtAcdYear.Text     = string.Empty;
     TxtRollNo.Text      = string.Empty;
     Txtgender.Text      = string.Empty;
     Txtclass.Text       = string.Empty;
     Txtsection.Text     = string.Empty;
     TxtDob.Text         = string.Empty;
     TxtEmail.Text       = string.Empty;
     TxtFatherName.Text  = string.Empty;
     TxtMotherName.Text  = string.Empty;
     TxtFtrOcc.Text      = string.Empty;
     TxtNationality.Text = string.Empty;
     TxtReligion.Text    = string.Empty;
     TxtCategory.Text    = string.Empty;
     TxtState.Text       = string.Empty;
     TxtCountry.Text     = string.Empty;
     TxtTemAdd.Text      = string.Empty;
     TxtPerAdd.Text      = string.Empty;
     TxtCountact.Text    = string.Empty;
     TxtAltNo.Text       = string.Empty;
     Txtuser.Text        = string.Empty;
     Txtpwd.Text         = string.Empty;
     txtfee.Text         = string.Empty;
     DDStatus.ClearSelection();
 }
コード例 #2
0
 private void Reset()
 {
     TxtDate.Text     = string.Empty;
     TxtAdmsNo.Text   = string.Empty;
     TxtAdmsDate.Text = string.Empty;
     TxtSclName.Text  = string.Empty;
     TxtStdName.Text  = string.Empty;
     TxtAcdYear.Text  = string.Empty;
     TxtRollNo.Text   = string.Empty;
     DDGender.ClearSelection();
     DDClass.ClearSelection();
     DDSection.ClearSelection();
     TxtDob.Text         = string.Empty;
     TxtEmail.Text       = string.Empty;
     TxtFatherName.Text  = string.Empty;
     TxtMotherName.Text  = string.Empty;
     TxtFtrOcc.Text      = string.Empty;
     TxtNationality.Text = string.Empty;
     TxtReligion.Text    = string.Empty;
     TxtCategory.Text    = string.Empty;
     TxtState.Text       = string.Empty;
     TxtCountry.Text     = string.Empty;
     TxtTemAdd.Text      = string.Empty;
     TxtPerAdd.Text      = string.Empty;
     TxtCountact.Text    = string.Empty;
     TxtAltNo.Text       = string.Empty;
     DDStatus.ClearSelection();
 }