上一页 1 ··· 84 85 86 87 88 89 90 91 92 ··· 132 下一页
摘要: 1将目标页中的<head runat="server">2在内容页 Page.Title = "xxxxxxxxxxxxxxxxxxxxxx"; 阅读全文
posted @ 2009-10-11 10:26 awp110 阅读(204) 评论(0) 推荐(0)
摘要: vs2008 visualstudio2008 cdkey 破解 注册2008-05-30 20:29一直用在官网下的90天试用版,今天突然提示,还有29天过期. 一搜原来有解,很容易就搞定了.VS2008正式版序列号 CDKEY:PYHYP-WXB3B-B2CCM-V9DX9-VDY8T (VS帮助菜单直接输入cdkey就行了) 网上流传方法: VS2008破解方法非常简单,在开始>设置&... 阅读全文
posted @ 2009-10-11 09:31 awp110 阅读(334) 评论(0) 推荐(0)
摘要: <location path="hotpic.aspx" allowOverride="true"> <system.web> <globalization requestEncoding="gb2312" responseEncoding="gb2312" /> </system.web> </location> <locatio... 阅读全文
posted @ 2009-10-09 17:03 awp110 阅读(236) 评论(0) 推荐(0)
摘要: 已解决问题] System.Timers.Timer 多线程 ,同时首次进 声明: System.Timers.Timertimer=newSystem.Timers.Timer(); timer.Elapsed+=newElapsedEventHandler(timer_Elapsed); button按钮事件: timer.AutoReset=true; timer.Interval=15; ... 阅读全文
posted @ 2009-09-29 17:54 awp110 阅读(878) 评论(1) 推荐(1)
摘要: ///定时器///C#提供了3个类可以实现定时器///System.Timers.Timer///在实现中使用线程池中的线程去执行任务。与使用线程池一样,必须在访问任务所用到的资源时,对线程进行同步///Interval{get;set}属性 可以设置精度为毫秒的执行时间///Start() 开始定时器///Stop() 关闭定时器///Enabled{get;set;} 设置定时器的活动状态//... 阅读全文
posted @ 2009-09-29 17:45 awp110 阅读(658) 评论(0) 推荐(0)
摘要: System.Timers.Timer的使用2008年11月04日 星期二 05:26 P.M.using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Timers; namespace ConsoleApplication1 { class Program... 阅读全文
posted @ 2009-09-29 16:59 awp110 阅读(333) 评论(0) 推荐(0)
摘要: 111错误代码 ObjectOperator oo = new ObjectOperator(); oo.BeginTranscation(); try { oo.Commit(); Response.Redirect("TeamCustomerAdd.aspx"); } catch (Exception ex) { oo.Rollback(); PageTools.Alert(ex.Messag... 阅读全文
posted @ 2009-09-27 15:48 awp110 阅读(226) 评论(0) 推荐(0)
摘要: 兼容Firefox的点击复制js代码 <script type="text/javascript">function copyCode(id){var testCode=document.getElementById(id).value;if(copy2Clipboard(testCode)!=false){alert("生成的代码已经复制到粘贴板,你可以使用Ctrl+V 贴到需要的地... 阅读全文
posted @ 2009-09-27 15:18 awp110 阅读(461) 评论(0) 推荐(0)
摘要: 在 Web 开发与设计中,事事亲历亲为并非好事,我们经常被告诫不要重复发明轮『子』(don't reinvent the wheel),大而全式的开发不仅是巨大的负担,而且带来更多安全隐患,你毕竟不是所有技术的行家,业界有很多优秀的第三方技术可以借用或者集成,我们必须承认,这些技术比我们自己所能设计的要好得多。本文介绍了15种可以集成到我们的 Web 站点的技术。1. RSS feeds在站点中自... 阅读全文
posted @ 2009-09-27 12:01 awp110 阅读(246) 评论(0) 推荐(0)
摘要: 方案1:publicstaticboolWriteFile(stringstrText,stringstrContent,stringstrAuthor){stringpath=HttpContext.Current.Server.MapPath("/news/");Encodingcode=Encoding.GetEncoding("gb2312");//读取模板文件stringtemp=Htt... 阅读全文
posted @ 2009-09-25 09:38 awp110 阅读(192) 评论(0) 推荐(0)
上一页 1 ··· 84 85 86 87 88 89 90 91 92 ··· 132 下一页