protected void SubEdit_Click(object sender, EventArgs e)
 {
     int IdCatMain = Convert.ToInt32(main_category.Text);
     string check = Request["hidden_text"];
     string GetValue = SubText.Text;
     Int32 Show = (SubCheck.Checked == true ? 1 : 0);
     if (check == "true" && GetValue != "")
     {
         int id = Convert.ToInt32(sub_category.Text);
         sql_object sql_obj = new sql_object();
         sql_obj.SubCatUpd(id, GetValue, Show);
         sub_Category_query(IdCatMain);
     }
 }