Пример #1
0
        protected void DropDownList4_SelectedIndexChanged(object sender, EventArgs e)
        {
            GridView6.DataSource = null;
            TextBox30.Text       = DropDownList4.SelectedValue;

            TextBox15.Text = "0";
            TextBox17.Text = "0";


            null_Sum();
            DropDownList5.Items.Clear();


            GridView5.DataBind();

            DropDownList7.SelectedValue = "0";
            if (DropDownList4.SelectedValue != "0")

            {
                Metafora_Selected.Insert();
            }

            Metafora_Select.DataBind();
            Metafora_Selected.DataBind();
            DropDownList4.DataBind();
            GridView4.DataBind();
        }
Пример #2
0
 protected void GridView7_SelectedIndexChanged(object sender, EventArgs e)
 {
     DropDownList7.SelectedValue = "0";
     null_Sum();
     TextBox20.Text = "";
     TextBox2.Text  = "";
     DropDownList5.Items.Clear();
     Metafora_Selected.DataBind();
     Metafora_Select.DataBind();
     DropDownList4.DataBind();
 }