如何跟踪SharePoint的错误日志
摘要:原文地址:http://zimmergren.net/technical/sp-2010-find-error-messages-with-a-correlation-id-token-in-sharepoint-2010Correlation ID, what’s that?In SharePoint 2010, you get a Correlation ID (which is a GUID) attached to your logs/error messages when something happens. This ID can then be used to lookup th
阅读全文
posted @
2012-08-30 15:36
Black Bean
阅读(566)
推荐(0)
jQuery图片放大功能
摘要:备份而已,测试OK。1. 引用jQuery API<script type="text/javascript" src="http://www.cnblogs.com/../js/jquery-1.4.4.min.js"></script>2. 加入样式<style type="text/css"> #preview {float:left; margin:10px auto; text-align:center; width:200px;} .jqzoom {width:200px; height
阅读全文
posted @
2012-08-18 18:48
Black Bean
阅读(594)
推荐(0)
用数据流处理文件-文件读取到MemoryStream中和MemoryStream写入到文件
摘要:This code writes down MemoryStream to a file:FileStream file =newFileStream("file.bin",FileMode.Create,System.IO.FileAccess.Write);byte[] bytes =newbyte[ms.Length];ms.Read(bytes,0,(int)ms.Length);file.Write(bytes,0, bytes.Length);file.Close();ms.Close();and this reads a file to a MemoryStr
阅读全文
posted @
2012-08-01 17:33
Black Bean
阅读(15688)
推荐(0)