摘要: /// <summary>--以顺时针为方向对图像进行旋转-- /// Guo Jin /// </summary> /// <param name="b">位图流</param> /// <param name="angle">旋转角度[0,360](前台给的)</param> /// <retu 阅读全文
posted @ 2019-07-17 16:19 苹果的味道_Echo 阅读(559) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 获取原图旋转角度 /// </summary> /// <param name="path"></param> /// <returns></returns> public static int readPictureRotate(Image img) { int 阅读全文
posted @ 2019-07-17 16:18 苹果的味道_Echo 阅读(398) 评论(0) 推荐(0) 编辑
摘要: #region 图片旋转 public static void rotating(Bitmap img, ref int width, ref int height) { int ow = width; int orien = 1; foreach (var prop in img.Property 阅读全文
posted @ 2019-07-17 16:17 苹果的味道_Echo 阅读(512) 评论(0) 推荐(0) 编辑
摘要: //方法1: function DateDiff(sDate, eDate) { //sDate和eDate是yyyy-MM-dd格式 var date1 = new Date(sDate); var date2 = new Date(eDate); var date3=date2.getTime()-date1.getTime(); var days=Math.floor(da... 阅读全文
posted @ 2019-02-19 17:08 苹果的味道_Echo 阅读(4709) 评论(0) 推荐(0) 编辑
摘要: 表添加备注: EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level 阅读全文
posted @ 2019-02-18 14:56 苹果的味道_Echo 阅读(6906) 评论(0) 推荐(0) 编辑
摘要: 1、只能输入纯数字: <input type='text' onkeyup="this.value=this.value.replace(/[^0-9-]+/,'');" /> 2、只能输入数字和小数点 <input onkeyup="value=value.replace(/[^\d\.]/g,' 阅读全文
posted @ 2018-11-14 11:37 苹果的味道_Echo 阅读(5455) 评论(0) 推荐(0) 编辑
摘要: 传参:pageIndex和pageSize 原文链接:https://www.cnblogs.com/sword-successful/p/4834309.html 阅读全文
posted @ 2018-11-14 10:43 苹果的味道_Echo 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 链接:http://echarts.baidu.com/examples/index.html 阅读全文
posted @ 2018-11-13 16:40 苹果的味道_Echo 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 方法1: onfocus=this.blur() 当鼠标放不上就离开焦点<input type="text" name="input1" value="哈哈" onfocus=this.blur()> 方法2:readonly <input type="text" name="input1" val 阅读全文
posted @ 2018-11-02 17:17 苹果的味道_Echo 阅读(1321) 评论(0) 推荐(0) 编辑
摘要: --2、添加外键约束(关联字段要用括号括起来) -- ALTER TABLE 从表 -- ADD CONSTRAINT 约束名 FOREIGN KEY (关联字段) references 主表(关联字段); --例如: ALTER TABLE tb_UserAndRole ADD CONSTRAIN 阅读全文
posted @ 2018-10-31 09:55 苹果的味道_Echo 阅读(24474) 评论(0) 推荐(1) 编辑