Chandler

导航

2013年1月16日

IIndexableContent接口-转

摘要: IIndexableContent接口如下:publicinterfaceIIndexableContent{eventContentChangedEventHandlerContentChanged;} 这个接口定义了ContentChanged事件,本接口的作用定义了与索引有关的基础接口。委托ContentChangedEventHandler如下:publicdelegatevoidContentChangedEventHandler(objectsender,ContentChangedEventArgse);类ContentChangedEventArgs如下:publicclass 阅读全文

posted @ 2013-01-16 15:50 Chandler.C 阅读(159) 评论(0) 推荐(0) 编辑

2010年8月10日

css+div

摘要: div如果要用多个css的class 那么就用空格把几个样式隔开,如果先前已经写好很多样式,后来又想修改,不妨可以在最后添加一个新的样式名称比如:modulecontentchandler 然后在样式表写好需要修改的样式.modulecontentchandler h3 a {font-size: 12px; font-weight: bold; } 这样可以达到修改样式的效果,又可以不用删除原先... 阅读全文

posted @ 2010-08-10 16:13 Chandler.C 阅读(225) 评论(0) 推荐(0) 编辑

2009年6月5日

委托---转载

摘要: 委托的声明public delegate void MyDelegate(string str);注1.委托的定义和方法的定义类似,只是在前面加了一个delegate,但委托不是方法,它是一种类型。是一种特殊的类型,看成是一种新的对象类型比较好理解。用于对与该委托有相同签名的方法调用。2.委托相当于C++中的函数指针,但它是类型安全的。3.委托是从System.Delegate派生,但不能象定义常... 阅读全文

posted @ 2009-06-05 10:29 Chandler.C 阅读(139) 评论(0) 推荐(0) 编辑

2009年5月20日

CheckBoxList 的单选s

摘要: function CheckBoxList_Click(sender) { var container = sender.parentNode; if(container.tagName.toUpperCase() == "TD") { // 服务器控件设置呈现为 table 布局(默认设置),否则使用流布局 container = container.parentNode.parentNod... 阅读全文

posted @ 2009-05-20 14:49 Chandler.C 阅读(472) 评论(0) 推荐(0) 编辑

CheckBoxList 的单选

摘要: function CheckBoxList_Click(sender) { var container = sender.parentNode; if(container.tagName.toUpperCase() == "TD") { // 服务器控件设置呈现为 table 布局(默认设置),否则使用流布局 container = container.parentNode.parentNod... 阅读全文

posted @ 2009-05-20 12:30 Chandler.C 阅读(308) 评论(0) 推荐(0) 编辑

2009年5月18日

TextBox 禁止客户端输入 前台通过JS赋值 并在后台获取

摘要: 解决办法!TextBox1.Attributes["contentEditable"] = "false";//等效于ReadOnly="true"或直接从前台设置TextBox的属性contentEditable="false" 阅读全文

posted @ 2009-05-18 16:44 Chandler.C 阅读(317) 评论(0) 推荐(0) 编辑

2009年5月6日

使用游标在存储过程中循环遍历数据

摘要: CREATEPROCEDUREupdatecountASDECLARE@flashID intDECLAREfavCountsCURSORLOCALSCROLLFORSELECTflashID FROMflashs_FavoritesOPENfavCountsFETCHNEXTFROMfavCountsINTO@flashIDWHILE @@FETCH_STATUS = 0BEGINupdatef... 阅读全文

posted @ 2009-05-06 17:19 Chandler.C 阅读(522) 评论(0) 推荐(0) 编辑

2009年4月7日

sql2005 数据库附加

摘要: 1)Copy the .mdf and .ldf files to a folder on the SQL Server computer, and name them with a name you like. This is how I named mine: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\xxx.mdf C:... 阅读全文

posted @ 2009-04-07 10:24 Chandler.C 阅读(307) 评论(0) 推荐(0) 编辑

2008年10月16日

mojoportal ajax出错

摘要: 是.axd扩展的“确认文件是否存在”复选框被选中的原因。 阅读全文

posted @ 2008-10-16 10:03 Chandler.C 阅读(124) 评论(0) 推荐(0) 编辑

2008年6月6日

命名空间Microsoft.Office.Interop.Word不存在

摘要: 命名空间Microsoft.Office.Interop.Word不存在 编译出现错误: "Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependen... 阅读全文

posted @ 2008-06-06 16:29 Chandler.C 阅读(747) 评论(0) 推荐(0) 编辑