上一页 1 2 3 4 5 6 7 8 9 10 ··· 20 下一页
摘要: 1.乱码的问题 a. b.用vs.net打开。把记事本打开的js拷贝进去。保存 2.判断变量是否存在 if(typeof(headerWidth)=="undefined") {} 3.判断某个函数是否存在 if(typeof(AdjustPageImage) == "function"){} 阅读全文
posted @ 2007-09-27 15:12 烈马狂生 阅读(153) 评论(0) 推荐(0) 编辑
摘要: ASP.NET(1.0/1.1)给我们提供了一个开发WebControl的编程模型,于是我们摆脱了asp里面的include模式的复用方式。不过1.0/1.1提供的Web控件开发模型对于处理没有image、css等外部资源的组件还算比较得心应手,script虽然很多时候也是外部资源,但在开发控件的时候我们习惯把script使用Page.Register...Script()来嵌入模块,因为紧凑的... 阅读全文
posted @ 2007-09-03 16:43 烈马狂生 阅读(357) 评论(1) 推荐(0) 编辑
摘要: 什么是BBCode? 您可以使用 BBCode --一个 HTML 代码的简化版本,来简化对帖子显示格式的控制。 1. [b]粗体文字 Abc[/b] 效果:粗体文字 Abc (粗体字) 2. [i]斜体文字 Abc[/i] 效果:斜体文字 Abc (斜体字) 3. [u]下划线文字 Abc[/u] 效果:下划线文字 Abc (下划线) 4. [fly]飞行文字 Abc[/fly] (飞... 阅读全文
posted @ 2007-07-16 18:18 烈马狂生 阅读(906) 评论(0) 推荐(0) 编辑
摘要: 虽然 Apache 的名声可能比 IIS 好,但我相信用 IIS 来做 Web 服务器的人一定也不少。说实话,我觉得 IIS 还是不错的,尤其是 Windows 2003 的 IIS 6(马上 Longhorn Server 的 IIS 7 也就要来了,相信会更好),性能和稳定性都相当不错。但是我发现许多用 IIS 的人不太会设置 Web 服务器的权限,因此,出现漏洞被人黑掉也就不足为奇了。但我们... 阅读全文
posted @ 2007-07-16 18:08 烈马狂生 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Parent.aspx:1. a与b是或的关系a: " Class="BoxButton" >编辑 b: mlCreatePP.Url="child.aspx" 2. child.aspx: 1..Ok-sever:private void OkClick(object sender, EventArgs e) { //你的一些操作 //关闭该... 阅读全文
posted @ 2007-07-04 16:47 烈马狂生 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 1.更新脚本(cs_Default.sql)或者在数据库中执行 --增加TravelIS应用类型if not exists( select * from cs_ApplicationType where ApplicationType = 12 ) insert into cs_ApplicationType values( 12, 'TravelIS')--增加CrmIS应用类型 if not ... 阅读全文
posted @ 2007-07-04 16:00 烈马狂生 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1.注册AjaxManager.Register(this,"ReaderAJAX");2. 声明方法:a.没有返回值 [AjaxMethod(IncludeControlValuesWithCallBack=false)] public void MarkPostRead(int feedId) { if(csContext.IsAuthenticated && feedId != 0... 阅读全文
posted @ 2007-07-04 15:57 烈马狂生 阅读(246) 评论(0) 推荐(0) 编辑
摘要: -----------------------------------------------1.表select *from cs_feedselect * from cs_feedpostselect * from cs_FeedStateselect * from cs_folderselect * from cs_FolderFeed 2。control: CommunityServer.R... 阅读全文
posted @ 2007-07-04 15:55 烈马狂生 阅读(222) 评论(0) 推荐(0) 编辑
摘要: communityserver中用的: 3 DaFangGuanLiYuan ddd sdfsdf 01be32bd-5d38-4bdf-8664-dc27b09903a7:6430 0 http://localhost/TravelWeb/ForumsTA/NO6430/thread.aspx 20... 阅读全文
posted @ 2007-07-04 15:52 烈马狂生 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 一、排序1 获取DataTable的默认视图2 对视图设置排序表达式3 用排序后的视图导出的新DataTable替换就DataTable(Asc升序可省略,多列排序用","隔开) DataView dv = dt.DefaultView; dv.Sort = "id Asc,name Desc";dt = dv.ToTable(); 二、检索1 设置查询字符串2 使用Select方法获取到所有满足... 阅读全文
posted @ 2007-07-03 14:17 烈马狂生 阅读(1309) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 20 下一页