随笔分类 - .net
摘要:在用Ajax Beta2.0的时间出现了如下错误:---------------------------Microsoft Internet Explorer---------------------------Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processin...
阅读全文
posted @ 2006-11-24 14:04
simplay
摘要:序列化”可被定义为将对象的状态存储到存储媒介中的过程。在此过程中,对象的公共字段和私有字段以及类的名称(包括包含该类的程序集)都被转换为字节流,然后写入数据流。在以后“反序列化”该对象时,创建原始对象的精确复本。一、为什么要选择序列化 一个原因是将对象的状态保持在存储媒体中,以便可以在以后重新创建精确的副本; 另一个原因是通过值将对象从一个应用程序域发送到另一个应用程序域中。 ...
阅读全文
posted @ 2006-10-16 16:36
simplay
摘要:Reflector.exe + ilDasm.exe + ilasm.exe 破解DundasWebChart(VS2005) 5.5 成功 1. 工具准备 .net FrameWork SDK 2.0 ILDASM反编译工具 ILASM重新编译工具 2. 安装Dundas Chart for ASP.NET - Enterprise Eval (VS2005) 3. ...
阅读全文
posted @ 2006-10-13 10:42
simplay
摘要:using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.Common;using System.Configuration;using System.Collections;namespace Ths{ /**//// /// =====...
阅读全文
posted @ 2006-09-14 16:38
simplay
摘要:关于DetailsView使用DropDownList1 在DetailsView中创建一个模板列,在模板列中加入DropDownList 例: 0 1 2 3 00 11 22 33 在插入(DetailsView1_...
阅读全文
posted @ 2006-09-14 16:32
simplay
摘要:DataGrid导出到Excel的时候,某些数字内容显示不正确,"3.62201E+14"的格式 WebForm中,在DataGrid的ItemDataBound事件内 if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem){e.Item.Cells[0]....
阅读全文
posted @ 2006-08-03 11:06
simplay
摘要:通常HTML文件需要浏览者来选择浏览的内容,如果想自动更换显示的内容一般要用到javascript、JAVA或CGI等方法来完成。 现在可以用META实现自动更换显示内容,更换的时间和文件都可以自行设定。语句如下: 程序代码: 刷新内容 其中,x 是刷新的时间,单位是秒。*.* 是刷新的文件。 利用标签实现Web的自动跳转。 在Web上显示一段欢迎信息,隔一定秒数后,自动跳转到其他的We...
阅读全文
posted @ 2006-06-19 18:12
simplay
摘要:错误:System.NullReferenceException: 未将对象引用设置到对象的实例?? 这是你的Web.config的设置有问题了! 如果你在 .............................. 之间加上下面的就ok 了。
阅读全文
posted @ 2006-06-11 17:33
simplay