protected void Fill_Textbox()
        {
            TextBox122.Text = TextBox101.Text;
            TextBox123.Text = DropDownList101.Text;
            ABE_Kinisis_Temaxia.Insert();

            TextBox122.Text = TextBox102.Text;
            TextBox123.Text = DropDownList102.Text;
            ABE_Kinisis_Temaxia.Insert();

            TextBox122.Text = TextBox103.Text;
            TextBox123.Text = DropDownList103.Text;
            ABE_Kinisis_Temaxia.Insert();

            TextBox122.Text = TextBox104.Text;
            TextBox123.Text = DropDownList104.Text;
            ABE_Kinisis_Temaxia.Insert();

            TextBox122.Text = TextBox105.Text;
            TextBox123.Text = DropDownList105.Text;
            ABE_Kinisis_Temaxia.Insert();

            TextBox122.Text = TextBox106.Text;
            TextBox123.Text = DropDownList106.Text;
            ABE_Kinisis_Temaxia.Insert();

            TextBox122.Text = TextBox107.Text;
            TextBox123.Text = DropDownList107.Text;
            ABE_Kinisis_Temaxia.Insert();

            TextBox122.Text = TextBox108.Text;
            TextBox123.Text = DropDownList108.Text;
            ABE_Kinisis_Temaxia.Insert();

            TextBox122.Text = TextBox109.Text;
            TextBox123.Text = DropDownList109.Text;
            ABE_Kinisis_Temaxia.Insert();

            TextBox122.Text = TextBox110.Text;
            TextBox123.Text = DropDownList110.Text;
            ABE_Kinisis_Temaxia.Insert();
        }
Пример #2
0
 protected void Fill_Textbox()
 {
     if (DropDownList101.SelectedValue != "0")
     {
         TextBox122.Text = TextBox101.Text;
         TextBox123.Text = DropDownList101.Text;
         ABE_Kinisis_Temaxia.Insert();
     }
     if (DropDownList102.SelectedValue != "0")
     {
         TextBox122.Text = TextBox102.Text;
         TextBox123.Text = DropDownList102.Text;
         ABE_Kinisis_Temaxia.Insert();
     }
     if (DropDownList103.SelectedValue != "0")
     {
         TextBox122.Text = TextBox103.Text;
         TextBox123.Text = DropDownList103.Text;
         ABE_Kinisis_Temaxia.Insert();
     }
     if (DropDownList104.SelectedValue != "0")
     {
         TextBox122.Text = TextBox104.Text;
         TextBox123.Text = DropDownList104.Text;
         ABE_Kinisis_Temaxia.Insert();
     }
     if (DropDownList105.SelectedValue != "0")
     {
         TextBox122.Text = TextBox105.Text;
         TextBox123.Text = DropDownList105.Text;
         ABE_Kinisis_Temaxia.Insert();
     }
     if (DropDownList106.SelectedValue != "0")
     {
         TextBox122.Text = TextBox106.Text;
         TextBox123.Text = DropDownList106.Text;
         ABE_Kinisis_Temaxia.Insert();
     }
     if (DropDownList107.SelectedValue != "0")
     {
         TextBox122.Text = TextBox107.Text;
         TextBox123.Text = DropDownList107.Text;
         ABE_Kinisis_Temaxia.Insert();
     }
     if (DropDownList108.SelectedValue != "0")
     {
         TextBox122.Text = TextBox108.Text;
         TextBox123.Text = DropDownList108.Text;
         ABE_Kinisis_Temaxia.Insert();
     }
     if (DropDownList109.SelectedValue != "0")
     {
         TextBox122.Text = TextBox109.Text;
         TextBox123.Text = DropDownList109.Text;
         ABE_Kinisis_Temaxia.Insert();
     }
     if (DropDownList110.SelectedValue != "0")
     {
         TextBox122.Text = TextBox110.Text;
         TextBox123.Text = DropDownList110.Text;
         ABE_Kinisis_Temaxia.Insert();
     }
 }