Example #1
0
 public void setControl(String staffId)
 {
     rate                = lc.selectRatebyPk(staffId);
     txtRateId.Text      = rate.Id;
     txtDescription.Text = rate.Description;
     txtRec.Text         = rate.rec;
     txtPay.Text         = rate.pay;
     txtDiscount.Text    = rate.discount;
     txtLimit.Text       = rate.limit1;
     txtThooId.Text      = rate.thooId;
     //if (tho.Active.Equals("1"))
     //{
     //    chkActive.Checked = true;
     //    ChkUnActive.Checked = false;
     //}
     //else
     //{
     //    chkActive.Checked = false;
     //    ChkUnActive.Checked = true;
     //}
 }