上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 效果图: 阅读全文
posted @ 2018-05-15 18:02 紫晶城 阅读(1973) 评论(0) 推荐(0) 编辑
摘要: --sql server给表加说明: --banner EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Banner' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Banner' --News 资... 阅读全文
posted @ 2018-05-15 15:15 紫晶城 阅读(589) 评论(0) 推荐(0) 编辑
摘要: /// /// 此视频更新时间/创建时间 【生成时间,不手填】 /// public System.String CreateTime { get { return getProperty("CreateTime").ToString("yyyy.MM.dd"); } s... 阅读全文
posted @ 2018-05-09 19:50 紫晶城 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://www.cnblogs.com/vichin/p/6004249.html 阅读全文
posted @ 2018-05-09 15:17 紫晶城 阅读(11224) 评论(0) 推荐(1) 编辑
摘要: public class MD5 { /// /// 加密 /// /// 加密字符串 /// public static string Encrypt(string encryptString) { var md5 = new MD5Cryp... 阅读全文
posted @ 2018-05-08 10:08 紫晶城 阅读(118) 评论(0) 推荐(0) 编辑
摘要: //错误类 public class Error { /// /// 错误代码 /// public string errcode { get; set; } /// /// 错误描述 /// public string errmsg { g... 阅读全文
posted @ 2018-05-08 10:03 紫晶城 阅读(174) 评论(0) 推荐(0) 编辑
摘要: public class JsonF { #region 字符串转json /// /// 字符串转json /// /// /// public static HttpResponseMessage toJson(Object obj) { ... 阅读全文
posted @ 2018-05-08 10:01 紫晶城 阅读(3623) 评论(0) 推荐(0) 编辑
摘要: public class BackA { #region 后台 AJAX public static string GetPage(string posturl) { Stream outstream = null; Stream instream = null; St... 阅读全文
posted @ 2018-05-08 09:59 紫晶城 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 上图: 阅读全文
posted @ 2018-05-07 17:06 紫晶城 阅读(323) 评论(0) 推荐(0) 编辑
摘要: --通过分组查询,并查询各个组下面的数据数量 SELECT cord,COUNT(*) AS s FROM View_QualityPolicy GROUP BY cord ORDER BY s DESC 阅读全文
posted @ 2018-05-04 11:02 紫晶城 阅读(105) 评论(0) 推荐(0) 编辑
摘要: [HttpPost] [ValidateInput(false)]//解决从客户端(Content="12312...")中检测到有潜在危险的Request.Form 值。 public ActionResult EditInfo() { return View(); } ... 阅读全文
posted @ 2018-04-28 11:17 紫晶城 阅读(256) 评论(0) 推荐(0) 编辑
摘要: #region 功能 /// /// 查询 微信用户一定年月的账单 /// /// 年,最多4个字符 /// 月,最多2个字符 /// public JsonResult YearDay(string year, string month) { ... 阅读全文
posted @ 2018-04-26 18:52 紫晶城 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-04-26 18:04 紫晶城 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 先附上原本乱码: 解码后效果: 阅读全文
posted @ 2018-04-24 17:34 紫晶城 阅读(81) 评论(0) 推荐(0) 编辑
摘要: //6位数验证码: Random rm = new Random(); string str = rm.Next(100000, 1000000).ToString(); //MVC控制器Action中 保存session值 System.Web.HttpContext.Current.Session["Code"] = str; //MVC控制器Action中 读取session值 s... 阅读全文
posted @ 2018-04-23 09:56 紫晶城 阅读(221) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页