示例#1
0
        protected void btnSave_Click(object sender, EventArgs e)
        {
            string txtName  = this.txtName.Text.Trim().Replace("'", "''");
            string txtOrder = this.txtOrder.Text.Trim();

            int sort;

            int.TryParse(txtOrder, out sort);

            QJVRMS.Business.KeyWords obj = new QJVRMS.Business.KeyWords();
            obj.Add(0, txtName, sort);

            bindCatalog();
        }
示例#2
0
        protected void btnSave_Click(object sender, EventArgs e)
        {
            string txtName = this.txtName.Text.Trim().Replace("'", "''");
            //string txtOrder = this.txtOrder.Text.Trim();

            int sort = 1;
            //int.TryParse(txtOrder, out sort);

            int parentId = Convert.ToInt32(this.hId.Value);

            QJVRMS.Business.KeyWords obj = new QJVRMS.Business.KeyWords();
            obj.Add(parentId, txtName, sort);

            bind();
        }
示例#3
0
        protected void btnSave_Click(object sender, EventArgs e)
        {
            string txtName = this.txtName.Text.Trim().Replace("'", "''");
            //string txtOrder = this.txtOrder.Text.Trim();

            int sort=1;
            //int.TryParse(txtOrder, out sort);

            int parentId = Convert.ToInt32(this.hId.Value);

            QJVRMS.Business.KeyWords obj = new QJVRMS.Business.KeyWords();
            obj.Add(parentId, txtName, sort);

            bind();

        }