摘要:
错误代码:system.serviceModel/bindings/customBinding 处的绑定没有名称为“SMSServiceServiceSoapBinding”的已配置绑定。对于 bindingConfiguration,该值无效。 (D:\javaCode\WHTR-DMP\Code 阅读全文
摘要:
前端用post过来,Controller就要用[HttpPost],前端用get,Controller就要用[HttpGet],或者不管前端用什么,Controller都不加这些。 前端用post $.ajax({ url: "/CommRecord/LockSendESMS", type: "po 阅读全文
摘要:
查询半小时内数据的方法 1、select * from 表名 where datediff(minute,createtime,getdate())<30 2、select * from 表名 where createtime>=DateAdd(minute,-30,GETDATE()) and c 阅读全文
摘要:
var irank = 0; //总排名分页显示 function fenye() { var html = ''; for (var i = 0; i < 10; i++) { if (irank < RecordData.length) { if (RecordData[irank].avata 阅读全文
摘要:
//时间格式化 function GetDateTime(time) { if (time >= 60 && time <= 3600) { time = parseInt(time / 60) + "分" + time % 60 + "秒"; } else { if (time > 3600) { 阅读全文
摘要:
1、组装JSON rs["msg"] = "success"; rs["code"] = 200; rs["data"] = data; rs["rscount"] = rscount; strResult = JsonConvert.SerializeObject(rs); 2、拆分JSON JO 阅读全文
摘要:
CDataManage objdm = new CDataManage(); string sSql = ""; int page = 1; string html = ""; DataTable dt = new DataTable(); protected void Page_Load(obje 阅读全文
摘要:
DataRow newRow = dtResult.NewRow(); newRow["ProName"] = "名字"; newRow["ProPrice"] = "价格"; dtResult.Rows.Add(newRow);//在最后面插入数据 dtResult.Rows.InsertAt(newRow, 1);//在第一行插... 阅读全文
摘要:
var LocString = String(window.document.location.href); //接收地址的参数值 function GetQueryString(str) { var rs = new RegExp("(^|)" + str + "=([^\&]*)(\&|$)", 阅读全文
摘要:
json格式字符串转化为json对象:JObject calculate = (JObject)JsonConvert.DeserializeObject(Rep.Request["data"].ToString());或者JArray calculate = (JArray)JsonConvert 阅读全文