摘要: 1.jqUploader官方网址:http://www.pixeline.be/experiments/jqUploader/jqUploader是一个取代html中file input的一个基于Jquery的小插件,能够显示一个上传进度条和上传百分比。2.Multiple File Upload plugin for jQuery 官方网址:http://www.fyneworks.com/jquery/multiple-file-upload/可以同时上传多个文件。3.Ajax File Manager使用也相当简单,有点类似JQuery的Aajx。 阅读全文
posted @ 2011-05-06 13:03 Byrd 阅读(776) 评论(1) 推荐(0) 编辑
摘要: KeyValuePair<T,V>如果使用的是C#3.0可以直接使用var进行遍历。Dictionary<string, object> ds = new Dictionary<string, object>(); foreach (KeyValuePair<string ,object> item in ds) { ...... } 阅读全文
posted @ 2011-05-05 13:21 Byrd 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 第一种方式:用<![CDATA[]]<templates><template> <![CDATA[<html><head>$title</head><body>$content<body></html>]]></template> </templates>第二种方式:用xsl<table id ="tblContent" class="xl_ys" style="width:100%; z-index: 阅读全文
posted @ 2011-05-05 10:05 Byrd 阅读(2208) 评论(0) 推荐(0) 编辑
摘要: 1. 修改web.Config <add key="ChartImageHandler" value="storage=file;timeout=20;url=~/TempImages/;" /> 将其中的 dir=c:\TempImages\ 的绝对路径 修改外 url=~/TempImages/ 相对路径 (前提条件:网站文件中必须包含 TempImages文件夹) 2. 修改 <add path="ChartImg.axd" verb="GET,HEAD" type="System 阅读全文
posted @ 2011-05-04 16:36 Byrd 阅读(543) 评论(0) 推荐(0) 编辑
摘要: MSChart使用实例官方下载地址,包括web与winform http://archive.msdn.microsoft.com/mschart/Release/ProjectReleases.aspx?ReleaseId=4418 阅读全文
posted @ 2011-05-04 15:42 Byrd 阅读(626) 评论(0) 推荐(0) 编辑
摘要: 如: 主 页 > 企业简介 > 组织结构 修改方法一: 文件\include\arc.archives.class.php 文件\include\arc.listview.class.php 文件\include\arc.partview.class.php 把三个文件里面的这句 Fields['position'] = $this->TypeLink->GetPositionLink(true); 都改成 Fields['position'] = $this->TypeLink->GetPositionLink(false) 阅读全文
posted @ 2011-04-27 15:28 Byrd 阅读(867) 评论(0) 推荐(0) 编辑
摘要: 今天用dedecms上传图片,提示Upload filetype not allow,网上搜了有很多方法,找到这个测试可用: 修改 /include/uploadsafe.inc.php 第45行 $imtypes = array 改成 $imgtypes = array 再更新缓存就ok了! 阅读全文
posted @ 2011-04-27 14:56 Byrd 阅读(8049) 评论(0) 推荐(0) 编辑
摘要: 步骤: (1) 下载中文语言包 点击下载(2) 将文件拷贝到umbraco\umbraco\config\lang 文件夹 (3) 进入后台页面,选择Users——>users ,选中users下的当前用户,在右边设置栏有个Language的选项,选中中文即可。 阅读全文
posted @ 2011-04-19 13:12 Byrd 阅读(714) 评论(0) 推荐(0) 编辑
摘要: if((e.Item.ItemType == ListItemType.Item) || (e.Item.ItemType == ListItemType.AlternatingItem)) { LinkButton lbnupdate=(LinkButton)e.Item.FindControl("lbnupdate");LinkButton lbndel=(LinkButton)e.Item.FindControl("lbndel");lbnupdate.Visible=false;lbndel.Visible=false;if(Session[&q 阅读全文
posted @ 2011-04-14 23:34 Byrd 阅读(1840) 评论(1) 推荐(1) 编辑
摘要: (摘) 本文以MDI应用程序为例说明如何在已有的VC++工程中使用BCG界面库,我的开发环境为VS2003。 1,将BCG/BCGCBPro目录路径添加到“项目属性->C/C++ ->常规 ->附加包含目录”中,同时将BCG/Bin目录路径添加到“项目属性->链接器 ->常规 ->附加库目录”中。 2,确保在CWinApp派生类(设为CMyApp)的InitInstance()成员函数中调用AfxOleInit(); 3,在ExitInstance()函数中添加: CleanState(); BCGCBProCleanUp(); 4,在stdafx.h中添加 阅读全文
posted @ 2011-04-01 12:21 Byrd 阅读(1086) 评论(0) 推荐(0) 编辑