コード例 #1
0
        protected void btn_add_Click(object sender, EventArgs e)
        {
            try
            {
                CateNews catenews = ReceiveHtml();
                CateNewsBSO catenewsBSO = new CateNewsBSO();


                catenewsBSO.CreateCateNew(catenews);
                clientview.Text = String.Format(Resources.StringAdmin.AddNewsSuccessful);

                ViewCateGroup(Convert.ToInt32(HddGroupCate.Value));

            }
            catch (Exception ex)
            {
                clientview.Text = ex.Message.ToString();
            }
        }