IT
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 55 下一页
摘要: select * from ShopOrder where datediff(week,ordTime,getdate()-1)=0 //查询当天日期在一周年的数据select * from ShopOrder where datediff(day,ordTime,getdate()-1)=0 //查询当天的所有数据--查询当天: select * from info where DateDiff(dd,datetime,getdate())=0 --查询24小时内的: select * from info where DateDiff(hh,datetime,getDate())=24 - 阅读全文
posted @ 2010-12-08 11:56 liufei 阅读(4183) 评论(0) 推荐(0) 编辑
摘要: 页面代码:<asp:RadioButtonList ID="RadioButtonList1" onclick="hao()" runat="server" RepeatDirection="Horizontal"> </asp:RadioButtonList>js部分:<script type="text/javascript">function hao()... 阅读全文
posted @ 2010-12-01 18:38 liufei 阅读(525) 评论(0) 推荐(0) 编辑
摘要: C#繁体,简体互转 首先对Miscrosoft.VisualBasic类的引用. usingMicrosoft.VisualBasic; publicstaticstringTraditional2Simplified(stringstr) {//繁体转简体 return(Microsoft.VisualBasic.Strings.StrConv(str,Microsoft.VisualBasic... 阅读全文
posted @ 2010-11-30 14:13 liufei 阅读(225) 评论(0) 推荐(0) 编辑
摘要: win2003server下的IIS6默认设置下对每个运行在默认应用池中的工作者进程都会经过20多个小时后自动回收该进程,造成保存在该进程中的session丢失。 因为Session,Application等数据默认保存在运行该Web应用程序的工作者进程中,如果回收工作者进程,则会造成丢失。 解决办法: 修改配置,设置为不定时自动回收该工作者进程,比如设置为当超出占用现有物理内存60%后自动回收 ... 阅读全文
posted @ 2010-11-30 14:11 liufei 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 三种windows 2003自动登录的方法 以下内容为综合网上资料编写而成,感谢相应的原创作者(具体谁是原创,已不可考)。 Windows 2003因其针对服务器,相对于windows XP来说,大大加强了安全性要求。但是如果仅仅将Windows 2003作为个人计算机的操作系统使用(Windows XP太过容易遭到攻击),则在加强了安全性的同时,也产生了很多不便。如果计算机仅仅是自己使用,则每次... 阅读全文
posted @ 2010-11-30 14:09 liufei 阅读(171) 评论(0) 推荐(0) 编辑
摘要: ///<summary> ///将指定字符串按指定长度进行剪切, ///</summary> ///<paramname="oldStr">需要截断的字符串</param> ///<paramname="maxLength">字符串的最大长度</param> ///<paramname="endWith">超过长度... 阅读全文
posted @ 2010-11-30 14:08 liufei 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 注意:若在gridview内对radiobutton用组名groupname同名方法行不同,若加上GroupName="skytest"查看静态页面源代码便知道:两个name值的组名都不同。下面结合js实现单选. 呈现页: <asp:GridView ID="GridView1" Width="960px" EmptyDataText="暂无标书可操作" DataKeyNames="ID"... 阅读全文
posted @ 2010-11-30 14:06 liufei 阅读(609) 评论(0) 推荐(0) 编辑
摘要: Microsoft Dynamics CRM 4.0 里account实体里面的左侧导航栏按钮在isv里是不能写javascript函数所以如果要连接需要传递参数的报表就有问题。我想一个办法在account里的onload里面写一个段代码就能改变这种情况。1.在account里的onload里写入如下代码。view source print?01var CRM_FORM_TYPE_CREATE =... 阅读全文
posted @ 2010-11-17 13:39 liufei 阅读(294) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta ... 阅读全文
posted @ 2010-11-16 09:11 liufei 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 我以前段时间写了一个小项目。是VS2008写的,后来公司有同事想看看,当时公司用的是VS2005,可是VS2005是默认无法打开VS2008的项目的,这样就需要修改一点点东西,复制一个sln文件出来,改名为 **-VS2005.sln.然后修改sln里面的Microsoft Visual Studio Solution File, Format Version 10.00# Visual Stud... 阅读全文
posted @ 2010-11-01 16:21 liufei 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 55 下一页