在云那方

首页 新随笔 联系 订阅 管理
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页

2008年12月9日 #

摘要: 错误描述: 回发或回调参数无效。在配置中使用 或在页面中使用 启用了事件验证。出于安全目的,此功能验证回发或回调事件的参数是否来源于最初呈现这些事件的服务器控件。如果数据有效并且是预期的,则使用 ClientScriptManager.RegisterForEventValidation 方法来注册回发或回调数据以进行验证。 说明: 执行当前 W... 阅读全文
posted @ 2008-12-09 17:09 Rich.T 阅读(328) 评论(0) 推荐(0) 编辑

2008年11月21日 #

摘要: 水晶报表使用: 水晶报表分拉模式和推模式拉模式是直接从数据库拉取数据绑定到视图上推模式是通过dataset从数据库取到数据,再绑定到视图上 1.添加视图和数据源将水晶报表文件CrystalReportViewer和CrystalReportSource拖放至页面default.aspx, default.aspx代码 无标题页 ... 阅读全文
posted @ 2008-11-21 22:55 Rich.T 阅读(684) 评论(0) 推荐(0) 编辑

2008年11月20日 #

摘要: --SQL事务处理,多个事务可用别名区分,如begin tran T1begin tran--执行语句if @@error0 rollback tran else commit tran 阅读全文
posted @ 2008-11-20 16:50 Rich.T 阅读(196) 评论(0) 推荐(0) 编辑

摘要: protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { //如果是绑定数据行 if (e.Row.RowType == DataControlRowType.DataRow) { //鼠标移入时,行背景色变 ... 阅读全文
posted @ 2008-11-20 10:46 Rich.T 阅读(198) 评论(0) 推荐(0) 编辑

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<style>.mfile{color:white;background-color:#980607;height:20px;border:solid1px#000;width:60px;... 阅读全文
posted @ 2008-11-20 01:37 Rich.T 阅读(317) 评论(0) 推荐(0) 编辑

2008年11月18日 #

摘要: 阅读全文
posted @ 2008-11-18 00:39 Rich.T 阅读(153) 评论(0) 推荐(0) 编辑

2008年11月17日 #

摘要: 对于CheckBoxList控件来说,一方面要实现大量数据在服务器端的绑定工作,另一方面往往要求实现全 选、反选等功能。虽然可以在服务器端完成这方面的工作,但这样一个简单的工作似乎更应该在客户端完 成。 具体方法: 在页面中放入一个CheckBoxList控件,并添加几项,用来分析其产生的HTML代码,这样在使用js进行 动态控制时,将会非常清晰其测试代码如下所示: ... 阅读全文
posted @ 2008-11-17 16:56 Rich.T 阅读(670) 评论(0) 推荐(0) 编辑

2008年11月16日 #

摘要: 网站后台管理模板(4个).rar 后台模板(17个).rar 阅读全文
posted @ 2008-11-16 23:31 Rich.T 阅读(15883) 评论(26) 推荐(2) 编辑

摘要: 阅读全文
posted @ 2008-11-16 23:10 Rich.T 阅读(449) 评论(0) 推荐(0) 编辑

2008年11月15日 #

摘要: asp.net 2.0中的App_GlobalResources可以用来解决本地化的问题,程序会根据浏览器的语言首选项自动判断显示出本地化的界面。 首先在App_GlobalResources新建resx资源文件。如: 不同语言的resx中项目应该具有相同的名称: 中文资源项 英文资源项 完了以后就可以使用这些名值对了, "> 服务器控件用上面的方法,客服端控件或直接绑定到... 阅读全文
posted @ 2008-11-15 23:06 Rich.T 阅读(331) 评论(0) 推荐(0) 编辑

2008年11月10日 #

摘要: 页面正在载入 下载:loading.rar 阅读全文
posted @ 2008-11-10 12:04 Rich.T 阅读(3569) 评论(2) 推荐(0) 编辑

2008年11月5日 #

摘要: using System;using System.IO;using System.IO.Compression;public class Zip{ /// /// 压缩 /// /// 源文件名,如a.txt /// 目标文件名,如a.rar public static void CompressFile(string sourceFile, stri... 阅读全文
posted @ 2008-11-05 12:01 Rich.T 阅读(369) 评论(0) 推荐(0) 编辑

2008年11月3日 #

摘要: 注意:便表支持缓存的时候表名区别大小写 要利用asp.net2.0中的新SQL Server高速缓存依赖性,必须SQL Server数据库支持该功能.可使用C:\Windows\Microsoft .NET\Framework\V2.0XXXXX\下的aspnet_regsql.exe工具或者使用SqlCacheDependencyAdmin类编写代码实现 1.使用aspnet_regsql.ex... 阅读全文
posted @ 2008-11-03 15:19 Rich.T 阅读(581) 评论(0) 推荐(0) 编辑

2008年10月24日 #

摘要: (一).Windows集成身份验证的实现 1. 说明: Windows身份验证是利用Windows现有的账号信息来进行身份验证. 由IIS自动提供身份验证,比自定义身份验证更安全,但没有自定义身份验证灵活. 适用于Web内部应用程序. 在Web.Config中配置: ... 阅读全文
posted @ 2008-10-24 12:59 Rich.T 阅读(392) 评论(0) 推荐(0) 编辑

2008年10月23日 #

摘要: blog式日历控件.rar 阅读全文
posted @ 2008-10-23 11:39 Rich.T 阅读(214) 评论(0) 推荐(0) 编辑

摘要: 仿163网盘无刷新文件上传系统.rar 阅读全文
posted @ 2008-10-23 11:37 Rich.T 阅读(267) 评论(0) 推荐(0) 编辑

摘要: [代码]调用:SendEmailForGetpass("收件人名称", "xx@xx.com", "smtp.163.com", "发件人名称", "xx@xx.com","xxxx","标题","主体");如果碰上"身份验证失败的情况",则使用System.Web.Mail发送代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicboolSendMail(stringto,stringtitle,stringcontent){Syste 阅读全文
posted @ 2008-10-23 11:32 Rich.T 阅读(903) 评论(1) 推荐(0) 编辑

摘要: [代码]编码成自定义控件使用,下载:Control.rar代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--namespaceControl{usingSystem;usingSystem.Text;usingSystem.Web.UI;using... 阅读全文
posted @ 2008-10-23 11:03 Rich.T 阅读(1779) 评论(1) 推荐(1) 编辑

摘要: 辞职报告.rar 阅读全文
posted @ 2008-10-23 10:36 Rich.T 阅读(831) 评论(0) 推荐(0) 编辑

摘要: 不错的导航.rar 阅读全文
posted @ 2008-10-23 10:33 Rich.T 阅读(192) 评论(0) 推荐(1) 编辑

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页