摘要:
$.post('<%=this.AppPath %>DataService/InventoryUIService.svc/Rename', ///location.protocol + "//" + location.host + location.pathname + "/Rename", odata, ... 阅读全文
摘要:
因为项目中要用, 而AspNetPager又必须要用商业授权, 所以干脆自己先写个用了. [DefaultProperty("Text")] [ToolboxData("<{0}:WebFormsPager runat=server></{0}:WebFormsPager>")] public class WebFormsPager : WebControl, IPostBack... 阅读全文
摘要:
原理介绍: http://www.cnblogs.com/sanjer/articles/1705449.html用法/示例: http://www.cnblogs.com/yangbingqi/archive/2011/07/02/2096197.html 阅读全文
摘要:
当Config文件中开启 asp.Net兼容模式的时候<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />Server本身需加入以下代码, 以允许asp.net兼容模式, 而非Required模式(此点需特别注意) [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowe 阅读全文
摘要:
ThreadPool:1. 启动的线程会自动结束, 里面不包含"合理死循环"代码.一般用于处理某一个任务,执行完成线程即结束.Thread1. 用于执行指定的特殊任务, 特点是可以自由处理Initlization, Start, Suspend, Resume, Abort.例如:a. 专门开启一个线程用于监测数据库某个表数据的变化,b. 监测某个实例的状态,这种监测类型一般会用一个while(true){}来实现, 当该线程需结束时,或者线程宿主(主程序)结束时需要使用abort强制结束.当用while(true){}时, 如果暂时无任务,可以加入线程等待,通过Manua 阅读全文
摘要:
http://www.codeproject.com/KB/web-image/ASP-NET-MVC-Chart-Control.aspx 阅读全文
摘要:
http://www.microsoft.com/download/en/confirmation.aspx?id=23734If your download does not start after 30 seconds, click here: Start downloadInstructionsTo install this download:Download the file by clicking the Download button (above) and saving the file to your hard disk.Double-click the AccessDatab 阅读全文
摘要:
~~~~~~~~~~~~~~~~~~~~~~~ 32-bit Windows 7 Ultimate x86 ISO Amazon.com: http://174.129.85.117/data/Windows7Ultimate32bit.iso 64-bit Windows 7 Ultimate x64 ISO Amazon.com: http://174.129.85.117/data/Wind... 阅读全文
摘要:
看过http://andreaslagerkvist.com/jquery/colour-picker/之后,发现很麻烦,所以自己动手丰衣足食.下面看代码JavaScript<script type="text/javascript"> $(function () { Init6Color(); $("#colorValue").click(function () { $("#ColorList").show(); }); }); function Init6Color() { var cs = new Array( 阅读全文
摘要:
.style { width:100px; /*火狐以及一般浏览器*/ width:200px\9; /*IE8*/ *width:150px; /*IE7*/ _width:50px; /*IE6*/ height:100px; border:1px solid red;} 阅读全文