摘要: MySQL有三大类数据类型, 分别为数字、日期\时间、字符串, 这三大类中又更细致的划分了许多子类型: http://www.cnblogs.com/mr-wid/archive/2013/05/09/3068229.html 此文章较为简单,适合入门 http://www.cnblogs.com/ 阅读全文
posted @ 2016-03-23 23:00 just。。。 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1.window对象不要去掉 window.parent.location2.firefox和ie内置的对象确实不一样,你用jquery吧这个是跨浏览器的,只需要$("#yourID").parent()就直接可以得到了 很方便,而且jquery也比较小,只有几十k,现在浏览器这么多 不可能不用跨浏... 阅读全文
posted @ 2014-06-06 11:04 just。。。 阅读(835) 评论(0) 推荐(0) 编辑
摘要: Html.RenderAction方法:@{RouteValueDictionary routeValueDic = new RouteValueDictionary { { "lineProductId", @Model != null ? @Model.LineProductId : 0 }, ... 阅读全文
posted @ 2014-05-25 20:25 just。。。 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 无风:http://www.cnblogs.com/zhaozhan/archive/2011/01/09/1931340.htmlJSON是专门为浏览器中的网页上运行的JavaScript代码而设计的一种数据格式。在网站应用中使用JSON的场景越来越多,本文介绍ASP.NET中JSON的序列化和反... 阅读全文
posted @ 2014-05-20 18:21 just。。。 阅读(3021) 评论(0) 推荐(0) 编辑
摘要: encodeURIComponent($("#Name").val()) 中文乱码@莫问奴归处今天在使用Request.QueryString的时候,发现所有接收到的字符串,只要是带中文的都会变成乱码。后来经过研究,终于找到了原因。 ASP.NET默认使用的都是UTF-8编码,而大家一般使用的都... 阅读全文
posted @ 2014-05-14 18:55 just。。。 阅读(1651) 评论(0) 推荐(0) 编辑
摘要: 添加没有默认值:alter table Test add BazaarType char(1)有默认值的添加列:alter table Test add BazaarType char(1) default(0)删除没有默认值的列:alter table Test drop COLUMN Bazaa... 阅读全文
posted @ 2014-05-14 14:27 just。。。 阅读(1138) 评论(0) 推荐(0) 编辑
摘要: C#根据当前时间确定日期范围(本周、本月、本季度、本年度)DateTimedt=DateTime.Now;//当前时间int dayOfWeek = Convert.ToInt32(dt.DayOfWeek.ToString("d"));DateTime startWeek = dt.AddDays... 阅读全文
posted @ 2014-04-30 17:13 just。。。 阅读(1130) 评论(0) 推荐(0) 编辑
摘要: CKEditor源码之后出现DL怎么回事?想不要的https://dev.ckeditor.com/ticket/8184http://www.w3.org/TR/html401/struct/lists.htmlhttp://docs.cksource.com/ckeditor_api/symbo... 阅读全文
posted @ 2014-04-24 15:28 just。。。 阅读(220) 评论(0) 推荐(0) 编辑
摘要: CKEditor编辑框换行和回车or :config.enterMode = CKEDITOR.ENTER_P;config.shiftEnterMode = CKEDITOR.ENTER_BR; 阅读全文
posted @ 2014-04-24 15:00 just。。。 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1.asp.net在自定义的类中引用Response,Request,Server等对象asp.net在自定义的类中引用Response,Request,Server等对象只需直接写System.Web.HttpContext.Current.Response即可,类似的有System.Web.HttpContext.Current.RequestSystem.Web.HttpContext.Current.ServerSystem.Web.HttpContext.Current.Session等例如:System.Web.HttpContext.Current.Response.Write( 阅读全文
posted @ 2012-09-17 14:11 just。。。 阅读(112) 评论(0) 推荐(0) 编辑