03 2008 档案

HTTP MIME类型即HttpResponse.ContentType属性值列表
摘要:Übersicht von MIME-TypenDie Auswahl ist alphabetisch sortiert und erhebt keinen Anspruch auf Vollständigkeit. MIME-Typ Dateiendung(en) Bedeutung application/acad *.dwg AutoCAD-Dateien (nach ... 阅读全文

posted @ 2008-03-31 18:50 zhangsir 阅读(702) 评论(0) 推荐(0)

Ajax.Net--PageRequestManager对象
摘要:ScriptManager和UpdatePanel两个控件已经能够实现了客户端与服务器端的异步通信了。要想对异步操作进一步控制的话,那我们还得进一步研究PageReqeustManager类。 PageRequestManager类是客户端的类,用于协调ScriptManager和UpdatePanel控件,管理页面上的异步更新操作。通过PageRequestManager客户端的实例我们可以深入... 阅读全文

posted @ 2008-03-29 18:13 zhangsir 阅读(358) 评论(0) 推荐(0)

放一个比较不错的flash缓动函数上来
摘要:函数如下:MovieClip.prototype.smoothMove=function(sp,tx,ty){if(tx!=0)this._x=this._x+sp*(tx-this._x);//缓动if(ty!=0)this._y=this._y+sp*(ty-this._y);//缓动};MovieClip.prototype.MoveTo=function(sp,sx,sy){ //函数中第... 阅读全文

posted @ 2008-03-28 21:56 zhangsir 阅读(927) 评论(3) 推荐(0)

.net web程序的加密发布 aspnet_compiler
摘要:方法很简单,运行Microsoft .net Framework v2.0 sdk tools (.net的命令提示工具)运行如下代码:aspnet_compiler -v / -p E:\yourcomplacation -f D:\whereToPbulishCatgy -fixednames即可 ,其中:E:\yourcomplacation 为您开发的项目的文件夹绝对路径 D:\publi... 阅读全文

posted @ 2008-03-25 14:26 zhangsir 阅读(633) 评论(0) 推荐(0)

.net 对word的在线操作
摘要:下面代码把datagrid生成了word文档,并在ie显示//生成HttpContext.Current.Response.AppendHeader("Content-Disposition", "attachment;filename=RoadRepair.doc"); /?" Response.ContentType = "application/vnd.ms-word" ;//指定生成文件的... 阅读全文

posted @ 2008-03-21 09:36 zhangsir 阅读(366) 评论(0) 推荐(0)

关于flash的类型转换
摘要:摘自:http://livedocs.adobe.com/flash/9.0_cn/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000048.html类型转换在将某个值转换为其它数据类型的值时,就说发生了类型转换。类型转换可以是“隐式的”,也可以是“显式... 阅读全文

posted @ 2008-03-10 17:16 zhangsir 阅读(1775) 评论(0) 推荐(0)

Could not load file or assembly 'System.Web.Extensions...
摘要:在本地我们调试运行AJAX.NET程序完全没有问题,但是一旦上传到服务器就会出现很多Web.config文件异常。以下是两个最为典型的异常信息: Configuration Error Description: An error occurred during the processing of a configuration file required to service this reque... 阅读全文

posted @ 2008-03-08 10:03 zhangsir 阅读(1899) 评论(0) 推荐(0)

win2003服务器中:无法连接ACCESS数据库/sql数据库正常 && .net程序生成的dll文件拒绝访问问题
摘要:早上一来公司发现一客户网站爆出类似于这个错误提示://编译器错误信息: CS0016: 未能写入输出文件,..\Temporary ASP.NET Files\WebApp\d087da43\c12930d8\9ze28k_8.dll”--拒绝访问同时发展站点下的access数据库也无法连接,之后费劲周折尝试过重新安装.net framwork 安装access数据引擎 设置iis 文... 阅读全文

posted @ 2008-03-07 15:10 zhangsir 阅读(722) 评论(0) 推荐(0)

AJAX1.0的UpdateProgress使用
摘要:<%@ Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server"> protected voi... 阅读全文

posted @ 2008-03-06 10:07 zhangsir 阅读(970) 评论(0) 推荐(0)

ASP.net AJAX 调用PageMethods实例
摘要:1、新建网站,选择Asp.net Ajax Enabled Web Site 模板2、 <asp:scrīptManager ID="scrīptManager1" runat="server"/>中增加 EnablePageMethods="True" ,以启用PageMethods3、编写服务器端方法代码[System.Web.Services.WebMethod]public s... 阅读全文

posted @ 2008-03-01 18:27 zhangsir 阅读(466) 评论(0) 推荐(0)