管延文

管延文程序空间 QQ:27651302

导航

上一页 1 ··· 4 5 6 7 8 9 下一页

2008年10月10日

在vs.net2008中使用CuteEditor编辑器时,当发布网站时,生成的CuteSoft_Client\CuteEditor 目录中会缺少ditor.cep文件。

摘要: 当用 vs.net2008 建立 网站 时,因为不需要编译,所以使用 CuteEditor 编辑器时,CuteSoft_Client\CuteEditor 目录中文件没有任何变化,CuteEditor 编辑器 可以正常使用。最好,把原来项目中的整个 CuteSoft_Client 目录原封不动的复制过来,这样保证完整性。 阅读全文

posted @ 2008-10-10 12:18 tiger8000 阅读(1025) 评论(0) 推荐(0) 编辑

2008年10月7日

服务器及 IIS 设置相关技术

摘要: WinServer2003 服务器上设置 IIS 主机头 ,实现划分多个虚拟主机,且如何使用应用程序池。 Internet 信息服务(IIS)管理器 中 在新建的 网站 名称上击右键,查看 属性,然后,目录安全性,编辑,启用匿名访问,集成windows 身份验证,这两个都要勾选。然后,记住 匿名访问中的用户名,比如是:IUSR_WD001 然后,回到网站实际目录中,在目录上面击右键,属性,然后,安全,添加 IUSR_WD001 用户,然后,赋予权限。此帐号就是 internet来宾帐号。 不然,会出现访问网站时,弹出要求输入登录名和密码的 windwos 验证窗体。 阅读全文

posted @ 2008-10-07 09:19 tiger8000 阅读(602) 评论(0) 推荐(0) 编辑

2008年3月21日

在cs文件中控制控件的 css样式。

摘要: 如果想要在 .CS 文件中写 panel 的 css 样式则需要这样写 .aspx.CS this.Panel3.Style.Add("display", "block"); 阅读全文

posted @ 2008-03-21 16:18 tiger8000 阅读(1918) 评论(0) 推荐(0) 编辑

2008年2月27日

在服务器上 .netFramework2.0 环境下,如何能在不改变服务器设置下,让站点能够运行 AJAX 程序

摘要: 首先要在网上下载 ASPAJAXExtSetup.msi 然后在本地自己的机器上安装 ASPAJAXExtSetup.msi 然后在安装目录中 C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 下找到 System.Web.Extensions.Design.dll System.Web.Extensions.dll 这两个文件,把这两个文件放到你自己站点的 BIN 目录中即可。 另外需注意的是,站点根目录下的 web.config 一定要是这样产生的: 新建网站:ASP.NET AJAX-Enable Web Site ,然后产生的 web.config ,因为这个 web.config 中有必要的 ajax 程序配置。否则 ajax 程序无法在站点内运行。 阅读全文

posted @ 2008-02-27 21:21 tiger8000 阅读(2318) 评论(2) 推荐(0) 编辑

2008年1月2日

关于 Repeater 中 嵌套 Repeater 的问题

摘要: protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) { //DataRowView rowv = (DataRowView)e.Item.DataItem; //string strClassID = Convert.ToString(rowv["ClassID"]); Label LabelID = (Label)e.Item.FindControl("Label1"); string parentID = LabelID.Text.ToString();//此岗位的ID号 br 阅读全文

posted @ 2008-01-02 15:51 tiger8000 阅读(274) 评论(0) 推荐(0) 编辑

关于循环 GridView 及 Repeater 中的数据行的问题!

摘要: protected void GridView1_DataBound(object sender, EventArgs e) { foreach (GridViewRow row in GridView1.Rows) { Label LabelID = row.FindControl("Label1") as Label; string parentID = LabelID.Text.ToString(); Repeater subRepeater = row.FindControl("Repeater1") as Repeater; string sql = "select * from CandidateUser where WantPosition = '"+parentID+"' order by UID asc"; DataSet ds = newdb. 阅读全文

posted @ 2008-01-02 15:45 tiger8000 阅读(1451) 评论(0) 推荐(0) 编辑

2007年12月22日

用 css 样式表来美化表格

摘要: .lv { border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: #83B12B; border-left-color: #83B12B; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #83B12B; } 阅读全文

posted @ 2007-12-22 19:43 tiger8000 阅读(674) 评论(0) 推荐(0) 编辑

2007年12月15日

如何生成静态页面的五种方案

摘要: 如何生成静态页面的五种方案 阅读全文

posted @ 2007-12-15 20:28 tiger8000 阅读(306) 评论(0) 推荐(0) 编辑

将 html 代码写入 js 文件中,然后在网页中引用此 js 文件,实现头模板重用

摘要: 将 html 代码写入 js 文件中,然后在网页中引用此 js 文件,实现头模板重用 document.write(""); 阅读全文

posted @ 2007-12-15 19:49 tiger8000 阅读(7106) 评论(1) 推荐(0) 编辑

创建表头固定,表体可滚动的GridView

摘要: GridLines = " Both " CellPadding = " 4 " Width = " 560 " 阅读全文

posted @ 2007-12-15 17:23 tiger8000 阅读(1092) 评论(1) 推荐(1) 编辑

上一页 1 ··· 4 5 6 7 8 9 下一页