Beispiel #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();
        }
Beispiel #2
0
 protected void GridViewDegisenYazi_RowUpdated(object sender, GridViewUpdatedEventArgs e)
 {
     GridViewBuyukBaslikAlti.DataBind();
     GridViewBuyukBaslik.DataBind();
 }