private void SaveNewsCat()
        {
            string strLink = "";

            try
            {
                int i = 0;
                HtmlInputCheckBox check = new HtmlInputCheckBox();

                foreach (DataGridItem item in GridItemList.Items)
                {
                    check = new HtmlInputCheckBox();
                    check = (HtmlInputCheckBox)item.Cells[1].FindControl("chkSelect");

                    if (check.Checked)
                    {
                        ESHOP_NEWS_NEW grinsert = new ESHOP_NEWS_NEW();
                        grinsert.NEWS_ID2 = Utils.CIntDef(GridItemList.DataKeys[i]);
                        grinsert.NEWS_ID1 = m_news_id;
                        DB.ESHOP_NEWS_NEWs.InsertOnSubmit(grinsert);
                    }

                    i++;
                }

                DB.SubmitChanges();
                strLink = "news.aspx?news_id=" + m_news_id;
            }
            catch (Exception ex)
            {
                clsVproErrorHandler.HandlerError(ex);
            }
            finally
            {
                if (!string.IsNullOrEmpty(strLink))
                {
                    Response.Redirect(strLink);
                }
            }
        }
        private void SaveNewsCat()
        {
            string strLink = "";

            try
            {
                int i = 0;
                HtmlInputCheckBox check = new HtmlInputCheckBox();

                foreach (DataGridItem item in GridItemList.Items)
                {
                    check = new HtmlInputCheckBox();
                    check = (HtmlInputCheckBox)item.Cells[1].FindControl("chkSelect");

                    if (check.Checked)
                    {
                        ESHOP_NEWS_NEW grinsert = new ESHOP_NEWS_NEW();
                        grinsert.NEWS_ID2 = Utils.CIntDef(GridItemList.DataKeys[i]);
                        grinsert.NEWS_ID1 = m_news_id;
                        DB.ESHOP_NEWS_NEWs.InsertOnSubmit(grinsert);
                    }

                    i++;
                }

                DB.SubmitChanges();
                strLink = "news.aspx?news_id=" + m_news_id;
            }
            catch (Exception ex)
            {
                clsVproErrorHandler.HandlerError(ex);
            }
            finally
            {
                if (!string.IsNullOrEmpty(strLink))
                    Response.Redirect(strLink);
            }
        }