コード例 #1
0
ファイル: ManageMain.aspx.cs プロジェクト: eseawind/sac-mxny
        private void EditPoint(string key, string radio, string pointType, string zbType, string point, string jz, string SQL, string cType, string ID, string desc)
        {
            bool judge = bll.EditPoint(key, ID, desc, pointType, SQL, point, jz, zbType, cType, radio, tableName);

            if (judge)
            {
                count = 1;
            }
            object obj = new
            {
                count = count
            };

            string result = JsonConvert.SerializeObject(obj);

            Response.Write(result);
            Response.End();
        }
コード例 #2
0
        private void EditPoint(string key, string x, string y)
        {
            bool judge = bll.EditPoint(key, x, y, tableName);

            if (judge)
            {
                count = 1;
            }
            object obj = new
            {
                count = count
            };

            string result = JsonConvert.SerializeObject(obj);

            Response.Write(result);
            Response.End();
        }