上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页
摘要: -- 获取系统时间 print getdate()-- 获取3天前的时间 print dateadd(day, -3 , getdate())-- 获取3天后的时间 print dateadd(day, 3 , getdate())-- 获取3年前的时间 print dateadd(year, -3 , getdate())-- 获取3年后的时间 print dateadd(year, 3 , getdate())-- 获取3月后的时间 print dateadd(month, 3 , getdate())-- 获取9小时后的时间 print dateadd(hour, 9 , getdate 阅读全文
posted @ 2013-12-06 16:08 山之子 阅读(885) 评论(0) 推荐(0)
摘要: 在Update Panel 中 如果使用timer 定时刷新数据,会造成textbox 或者其他控件的焦点丢失问题。所以 text box 不能和timer 放在同一个Updatepanel 中。建议放在2 个不同的UpdatePanel 中,同时设置UpdateMode 为condition 可以吧后台的方法放在PageLoad中执行。 阅读全文
posted @ 2013-11-05 15:00 山之子 阅读(380) 评论(0) 推荐(0)
摘要: first = DateTime.MinValue; last = DateTime.MinValue; DateTime firstDay = new DateTime(year, 1, 1); int firstDayOfWeek = (int)new DateTime(year, 1, 1).DayOfWeek; first = firstDay.AddDays((weeks - 1) * 7 - firstDayOfWeek + 1); //星期一 last = first.AddDays(6); first = firstDay.AddDays((weeks - 1) *... 阅读全文
posted @ 2013-11-01 09:19 山之子 阅读(204) 评论(0) 推荐(0)
摘要: SQLSERVER存储过程基本语法http://www.cnblogs.com/vic_lu/archive/2011/06/24/2088883.html一、定义变量view sourceprint?--简单赋值 declare @a intset @a=5 print @a --使用select语句赋值 declare @user1 nvarchar(50) select @user1='张三'print @user1 declare @user2 nvarchar(50) select @user2 = Name from ST_User where ID=1 print 阅读全文
posted @ 2013-10-08 21:04 山之子 阅读(180) 评论(0) 推荐(0)
摘要: 今天又有客戶投訴公司的網頁有問題.. 他們不能Download Invoice 我們試了很多不同的Browser終於找到了問題了 他們下載不到Invoice 的原因是因為我們用了ASP.Net 的Image Button Control 而IE10 和 以前的IE 對這個Control 的方法是不一樣的 所以便出現了這個問題 當我們按下這些Image Button的時候 在IE Developer tool上的便會出現以下的錯誤 “SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was 阅读全文
posted @ 2013-09-12 16:55 山之子 阅读(262) 评论(0) 推荐(0)
摘要: HyperLink '>--%> "> -------------------------------------------------------------------------------- protected void Timer1_Tick(object sender, EventArgs e) { getdata(); } 阅读全文
posted @ 2013-09-10 23:24 山之子 阅读(663) 评论(0) 推荐(0)
摘要: Automating Site Mailboxes in SharePoint 2013 and Exchange 2013One of the completely new features to ship with SharePoint and Exchange 2013 is the new Site Mailboxes capability to give a unified view of both documents and emails in SharePoint and Outlook. For an overview of the feature, see the Produ 阅读全文
posted @ 2013-07-11 18:24 山之子 阅读(612) 评论(0) 推荐(0)
摘要: HOWTO Move or Migrate SharePoint 2010 List-based Workflows between Sites and SiteCollectionsI’ve experienced this issue a lot when trying to migrate workflows between test SharePoint 2010 farms and production farms, in particular with workflows attached to lists. When moving a workflow to another si 阅读全文
posted @ 2013-07-01 17:08 山之子 阅读(337) 评论(0) 推荐(0)
摘要: Spell Check within InfoPath 2010 Browser FormsOne thing I have never understood is the lack of a spell check facility within InfoPath Form Services forms. SharePoint has a spell checking web service which can be viewed at “_vti_bin/SpellCheck.asmx” so why can this not be used ?Well it can and here’s 阅读全文
posted @ 2013-06-25 17:45 山之子 阅读(279) 评论(0) 推荐(0)
摘要: <script src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js" type="text/javascript"></script><script type="text/javascript"> function uploadFile() { var filePath = "c:\\test.pdf"; var soapEnv = "<soap:Envelope xmlns:xsi=' 阅读全文
posted @ 2013-06-22 10:29 山之子 阅读(279) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页