protected override void OnPreRender(EventArgs e)
    {
        base.OnPreRender(e);
        int AppId = Convert.ToInt32(apt.ID);
        EFDal ed = new EFDal();
        string BolgeAdi = ed.AppointmentIddenBolgeAdiDon(AppId);

        StartingOn.Text = apt.Owner.UtcToDisplay(apt.Start).ToString().Remove(11, 8) + "-" + apt.Owner.UtcToDisplay(apt.End).ToString().Remove(11, 8)+"     Bölge:"+BolgeAdi;
        FullText.Text = apt.Subject;
    }
Exemplo n.º 2
0
    protected override void OnPreRender(EventArgs e)
    {
        base.OnPreRender(e);
        int    AppId    = Convert.ToInt32(apt.ID);
        EFDal  ed       = new EFDal();
        string BolgeAdi = ed.AppointmentIddenBolgeAdiDon(AppId);


        StartingOn.Text = apt.Owner.UtcToDisplay(apt.Start).ToString().Remove(11, 8) + "-" + apt.Owner.UtcToDisplay(apt.End).ToString().Remove(11, 8) + "     Bölge:" + BolgeAdi;
        FullText.Text   = apt.Subject;
    }