Esempio n. 1
0
        protected void BtnYaziEkle_Click(object sender, EventArgs e)
        {
            string     icerik = txtSliderYazi.Text;
            SliderYazi Sy     = new SliderYazi();

            Sy.Icerik = icerik;
            switch (DrpIcerikTur.SelectedValue)
            {
            case "0":
                Sy.BuyukBaslik = true;
                break;

            case "1":
                Sy.BuyukAltBaslik = true;
                break;

            case "2":
                Sy.DegisenYazi = true;
                break;
            }
            Sliders.SliderYaziEkle(Sy);
            txtSliderYazi.Text = string.Empty;
            GridViewBuyukBaslik.DataBind();
            GridViewBuyukBaslikAlti.DataBind();
            GridViewDegisenYazi.DataBind();
        }
Esempio n. 2
0
 protected void GridViewBuyukBaslikAlti_RowUpdated(object sender, GridViewUpdatedEventArgs e)
 {
     GridViewDegisenYazi.DataBind();
     GridViewBuyukBaslik.DataBind();
 }