示例#1
0
 protected void DisPersonelDoldur(int Id)
 {
     try
     {
         EFDal       ed           = new EFDal();
         DisPersonel oDisPersonel = ed.DisPersonelDon(Id);
         lblDisPersonelId.Text = oDisPersonel.Id.ToString();
         UIdTextBox.Text       = oDisPersonel.UId.ToString();
         AdSoyadTextBox.Text   = oDisPersonel.AdSoyad;
         FaaliyetDropDownList.SelectedValue  = oDisPersonel.Faaliyet;
         BolgeKoduDropDownList.SelectedValue = oDisPersonel.BolgeKodu.ToString();
         SilindiCheckBox.Checked             = oDisPersonel.Silindi;
     }
     catch (Exception)
     {
         throw;
     }
     finally
     {
     }
 }
    protected void DisPersonelDoldur(int Id)
    {
        try
        {
            EFDal ed=new EFDal();
            DisPersonel oDisPersonel = ed.DisPersonelDon(Id);
            lblDisPersonelId.Text = oDisPersonel.Id.ToString();
            UIdTextBox.Text = oDisPersonel.UId.ToString();
            AdSoyadTextBox.Text = oDisPersonel.AdSoyad;
            FaaliyetDropDownList.SelectedValue = oDisPersonel.Faaliyet;
            BolgeKoduDropDownList.SelectedValue = oDisPersonel.BolgeKodu.ToString();
            SilindiCheckBox.Checked = oDisPersonel.Silindi;

        }
        catch (Exception)
        {

            throw ;
        }
        finally
        {

        }
    }