摘要: 一般报这个错误是由于未初始化,把这个writer给初始化了就可以了。 阅读全文
posted @ 2012-04-25 15:08 染指的浮云 阅读(272) 评论(0) 推荐(0) 编辑
摘要: Segments属性将会返回一个以“/”为分隔的URL数组,这个URL数组同时也是来自absolute path例如:Absolute URIhttp://www.contoso.com/Chapters/Chapter1/Sections/Section1.htmAbsolute path/Chapters/Chapter1/Sections/Section1.htmSegments/Chapters/Chapter1/Sections/Section1.htmAbsolute URIhttp://www.contoso.com/Chapters/Chapter1/Sections/Sect 阅读全文
posted @ 2012-04-11 10:21 染指的浮云 阅读(372) 评论(0) 推荐(0) 编辑
摘要: valign 调格子中内容的垂向(上下)位置,valign=“top“上面, valign=“middle“中间,或 valign=“bottom 下面。align 调格子中内容的(左右)横向位置,align="LEFT“ 左边对齐, align="CENTER“中间 或 align="RIGHT“右边对齐。 阅读全文
posted @ 2012-04-10 17:24 染指的浮云 阅读(1276) 评论(0) 推荐(0) 编辑
摘要: <%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>js:<script language="javascript">//startvar dtCh= "/"; 阅读全文
posted @ 2012-04-06 15:15 染指的浮云 阅读(2070) 评论(0) 推荐(0) 编辑
摘要: http://www.360doc.com/content/10/1015/08/3911098_61117227.shtml 阅读全文
posted @ 2012-03-29 11:34 染指的浮云 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 解决的方案是:按几下Alt键,然后在按w键就可以了。 阅读全文
posted @ 2012-03-28 18:03 染指的浮云 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 如果不知道哪个webpart出错,就在页面网站上写?contents=1,这样就可以看到是哪个webpart出现错误 阅读全文
posted @ 2011-12-12 17:27 染指的浮云 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 请求“System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”类型的权限已失败。”解决方法:http://blog.csdn.net/qq546937127/article/details/4305677 阅读全文
posted @ 2011-12-12 17:25 染指的浮云 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 解决方案 1)Wsp文件中有文件名是中文乱码,去掉就没事了 2)http://msdn.microsoft.com/zh-cn/library/ee330922.aspx 阅读全文
posted @ 2011-12-12 17:23 染指的浮云 阅读(438) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 得到图片新闻的类型 /// </summary> /// <returns></returns> public List<string> GetAllTypes() { List<string> listAll = new List<string>(); SPSite site = null; SPWeb web = null; Guid guid = SPContext.Current.Site.ID; try { SPSecurity.RunWithElevatedPri 阅读全文
posted @ 2011-12-12 17:20 染指的浮云 阅读(122) 评论(0) 推荐(0) 编辑