摘要: 1.设置dns 2.配置 备用访问映射 3.若有子网站则修改导航栏的地址为该访问地址 阅读全文
posted @ 2008-11-17 13:56 KID 阅读(233) 评论(0) 推荐(0)
摘要: Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-us", true); Resources.Resource.Culture = Thread.CurrentThread.CurrentCulture; this.TTT.Text = Res... 阅读全文
posted @ 2008-06-27 09:39 KID 阅读(216) 评论(0) 推荐(0)
摘要: 在aspx页面头部加入: 或者在vs中加入控件,然后拖拽到页面上,也会自动生成上面的代码的register部分。 阅读全文
posted @ 2008-06-23 11:08 KID 阅读(815) 评论(0) 推荐(0)
摘要: 1.右键在清除日志的数据库,如“TestDB”,点击[新建查询(Q)] 2.输入以下SQL语句,其中“TestDB”是数据库名称 DUMP TRANSACTION TestDB WITH NO_LOG 3.执行该SQL,成功后继续以下操作 4.右键该数据库节点,点击[任务(T)] -> [收缩(S)] -> [文件(F)] 5.在弹出的“收缩文件”对话框中,将“文件类型(T)”选为“日志”... 阅读全文
posted @ 2008-06-02 15:35 KID 阅读(1149) 评论(0) 推荐(0)
摘要: sn.exe -t assemblly.dll 阅读全文
posted @ 2008-05-05 15:35 KID 阅读(380) 评论(0) 推荐(0)
摘要: public void InitializeWithField(SPField field) { if (!IsPostBack) { ChildDropDownListField ChildField = field as ChildDropDownListField; ... 阅读全文
posted @ 2008-05-05 15:06 KID 阅读(239) 评论(0) 推荐(0)
摘要: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPWeb site = ((SPSite)properties.Feature.Parent).RootWeb; SPFile page = site.GetF... 阅读全文
posted @ 2008-04-08 14:06 KID 阅读(877) 评论(0) 推荐(0)
摘要: 首先要安装moss的开发模板。 using System; using System.Runtime.InteropServices; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Serialization; usin... 阅读全文
posted @ 2008-03-27 15:41 KID 阅读(250) 评论(0) 推荐(0)
摘要: // Opens a resource reader and gets an enumerator from it. IResourceReader reader = new ResourceReader("myResources.resources"); IDictionaryEnumera... 阅读全文
posted @ 2008-03-20 17:27 KID 阅读(343) 评论(0) 推荐(0)
摘要: Conditional formulas You can use the following formulas to test the condition of a statement and return a Yes or No value, to test an alternate value such as OK or Not OK, or to return a blank or dash... 阅读全文
posted @ 2008-03-17 09:21 KID 阅读(2390) 评论(0) 推荐(0)