上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 114 下一页
摘要: alert 效果:{"a":"aaaa","nick":"ccccc","keyword":"ccccc"}后台可以使用NewTonJson.net 接收json字符串 阅读全文
posted @ 2015-12-08 10:47 甜菜波波 阅读(3785) 评论(0) 推荐(0)
摘要: json字符串转json对象:jQuery.parseJSON(jsonStr);json对象转json字符串:JSON.stringify(jsonObj);IE中可能对unicode使用“\uXXXX”格式来编码,可以使用如下来解码:function unicode2Char(str) {ret... 阅读全文
posted @ 2015-12-08 10:44 甜菜波波 阅读(1277) 评论(0) 推荐(0)
摘要: 1.引用“Newtonsoft.Json” 4.0 版本2.基础类using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace NewTonJsonTest{ public ... 阅读全文
posted @ 2015-12-08 10:23 甜菜波波 阅读(2553) 评论(0) 推荐(0)
摘要: /****** Script for SelectTopNRows command from SSMS ******/declare @oid int declare @cid int declare @tb table(oid int not null primary key,cid int ... 阅读全文
posted @ 2015-11-20 13:46 甜菜波波 阅读(422) 评论(0) 推荐(0)
摘要: 有三种用法1.insert values2.insert select3.inser exec 阅读全文
posted @ 2015-11-20 13:45 甜菜波波 阅读(227) 评论(0) 推荐(0)
摘要: sql server 查询某个表的所有触发器名称查出所有用到某个表的SQLselect * from sysobjects where xtype='TR' select * from sysobjects where xtype='TR' and parent_obj=object_id('表名'... 阅读全文
posted @ 2015-11-19 12:00 甜菜波波 阅读(6807) 评论(0) 推荐(0)
摘要: --递归查询 with cte as ( select a.ID,a.Text, a.Name,a.PID from Menu a where id='2' union all select k.id,k.Text, k.name,k.pid from ... 阅读全文
posted @ 2015-10-30 16:54 甜菜波波 阅读(254) 评论(0) 推荐(0)
摘要: select tid,tid+ coalesce(tid0,'101') from article where id=1 ---如果tid为null 则 返回101 select LEN('你好 啊') select datalength(N'abcd') ---返回字节数 ,N 占2字节sele... 阅读全文
posted @ 2015-10-30 13:49 甜菜波波 阅读(217) 评论(0) 推荐(0)
摘要: ---新增列alter table articleadd addtime0 datetime---修改列alter table articlealter column addtime0 varchar(100)--删除列alter table articledrop column addtim... 阅读全文
posted @ 2015-10-28 11:29 甜菜波波 阅读(1223) 评论(0) 推荐(0)
摘要: 1.html代码 2.后台接收代码 HttpFileCollection hfc = Context.Request.Files; if (Request["title"] != null)... 阅读全文
posted @ 2015-10-20 16:22 甜菜波波 阅读(268) 评论(0) 推荐(0)
上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 114 下一页