Пример #1
0
        protected void ButDel_Click(object sender, EventArgs e)
        {
            string check = Request["hidden_text"];

            if (check == "true")
            {
                int id = Convert.ToInt32(main_category.Text);
                sql_object sql_obj = new sql_object();
                sql_obj.MainCatDel(id);
                main_category_query();
            }
        }