文件名称:ajax_v1.2
- 所属分类:
- WEB源码
- 资源属性:
- [Windows] [Visual.Net] [Basic/ASP] [源码]
- 上传时间:
- 2015-12-14
- 文件大小:
- 3.59mb
- 下载次数:
- 0次
- 提 供 者:
- eepu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
asp.netC#+jquery1.4.1 +ajax留言板程序说明
采用asp.net C#+ jquery1.4.1 +ajax的实现
主要用aspx文件请求 还可以用ashx处理 ajax返回类型也很多
如:
dataType: xml ,
dataType: json ,
其实可区分为三种
Text:“text/plain“
XML:“application/xml“
JSON:“application/json“.
dataType为xml的时候,response.Write(string)中的字符串一定要符合xml的格式,
为json的时候,response.Write(string)中的字符串一定要符合json的格式为否则会出现解析错误,
这个和aspx页是一样的。
如果要使用session的话,在handler的代码中添加System.Web.SessionState的引用,
并让这个handler继承IRequiresSessionState接口,一定要继承这个接口,否则会出错的。-+ajax asp.netC#+jquery1.4.1 message board procedures
Implementation of C#+ jquery1.4.1+ajax asp.net
The main use of ASPX file request can also be used to deal with Ajax ashx return type is also a lot of
Such as:
XML dataType ,
JSON dataType ,
In fact, can be divided into three kinds
Text: text/plain
XML: application/xml
JSON: application/json .
DataType for response.Write, XML (string) in the string must be in XML format,
For the JSON, response.Write (string) in the string must be consistent with the format of the JSON for the error will occur,
This is the same as the ASPX page.
To use session, add a reference to the System.Web.SessionState code in handler,
And let the handler inherit the IRequiresSessionState interface, be sure to inherit this interface, otherwise it will go wrong.
采用asp.net C#+ jquery1.4.1 +ajax的实现
主要用aspx文件请求 还可以用ashx处理 ajax返回类型也很多
如:
dataType: xml ,
dataType: json ,
其实可区分为三种
Text:“text/plain“
XML:“application/xml“
JSON:“application/json“.
dataType为xml的时候,response.Write(string)中的字符串一定要符合xml的格式,
为json的时候,response.Write(string)中的字符串一定要符合json的格式为否则会出现解析错误,
这个和aspx页是一样的。
如果要使用session的话,在handler的代码中添加System.Web.SessionState的引用,
并让这个handler继承IRequiresSessionState接口,一定要继承这个接口,否则会出错的。-+ajax asp.netC#+jquery1.4.1 message board procedures
Implementation of C#+ jquery1.4.1+ajax asp.net
The main use of ASPX file request can also be used to deal with Ajax ashx return type is also a lot of
Such as:
XML dataType ,
JSON dataType ,
In fact, can be divided into three kinds
Text: text/plain
XML: application/xml
JSON: application/json .
DataType for response.Write, XML (string) in the string must be in XML format,
For the JSON, response.Write (string) in the string must be consistent with the format of the JSON for the error will occur,
This is the same as the ASPX page.
To use session, add a reference to the System.Web.SessionState code in handler,
And let the handler inherit the IRequiresSessionState interface, be sure to inherit this interface, otherwise it will go wrong.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
aspnetcode源码\add.aspx
..............\add.aspx.cs
..............\Admin\EditMessage.aspx
..............\.....\EditMessage.aspx.cs
..............\.....\images\btn_bg.gif
..............\.....\......\style.css
..............\.....\......\tools_bg.gif
..............\.....\Login.aspx
..............\.....\Login.aspx.cs
..............\.....\main.aspx
..............\.....\main.aspx.cs
..............\.....\VerifyCode.aspx
..............\.....\VerifyCode.aspx.cs
..............\.pp_Code\DbHelp.cs
..............\....Data\agebook.mdf
..............\........\agebook_database.sql
..............\........\agebook_log.LDF
..............\css\style.css
..............\Default.aspx
..............\Default.aspx.cs
..............\getCount.aspx
..............\getCount.aspx.cs
..............\index.html
..............\kindeditor\examples\auto-height.html
..............\..........\........\colorpicker.html
..............\..........\........\custom-plugin.html
..............\..........\........\custom-theme.html
..............\..........\........\default.html
..............\..........\........\dialog.html
..............\..........\........\dynamic-load.html
..............\..........\........\file-dialog.html
..............\..........\........\file-manager.html
..............\..........\........\filter-mode.html
..............\..........\........\image-dialog.html
..............\..........\........\index.css
..............\..........\........\index.html
..............\..........\........\jquery-ui\css\smoothness\images\ui-bg_flat_0_aaaaaa_40x100.png
..............\..........\........\.........\...\..........\......\ui-bg_flat_75_ffffff_40x100.png
..............\..........\........\.........\...\..........\......\ui-bg_glass_55_fbf9ee_1x400.png
..............\..........\........\.........\...\..........\......\ui-bg_glass_65_ffffff_1x400.png
..............\..........\........\.........\...\..........\......\ui-bg_glass_75_dadada_1x400.png
..............\..........\........\.........\...\..........\......\ui-bg_glass_75_e6e6e6_1x400.png
..............\..........\........\.........\...\..........\......\ui-bg_glass_95_fef1ec_1x400.png
..............\..........\........\.........\...\..........\......\ui-bg_highlight-soft_75_cccccc_1x100.png
..............\..........\........\.........\...\..........\......\ui-icons_222222_256x240.png
..............\..........\........\.........\...\..........\......\ui-icons_2e83ff_256x240.png
..............\..........\........\.........\...\..........\......\ui-icons_454545_256x240.png
..............\..........\........\.........\...\..........\......\ui-icons_888888_256x240.png
..............\..........\........\.........\...\..........\......\ui-icons_cd0a0a_256x240.png
..............\..........\........\.........\...\..........\jquery-ui-1.9.2.custom.css
..............\..........\........\.........\...\..........\jquery-ui-1.9.2.custom.min.css
..............\..........\........\.........\js\jquery-ui-1.9.2.custom.js
..............\..........\........\.........\..\jquery-ui-1.9.2.custom.min.js
..............\..........\........\jquery-ui.html
..............\..........\........\jquery.html
..............\..........\........\jquery.js
..............\..........\........\multi-image-dialog.html
..............\..........\........\multi-language.html
..............\..........\........\newline.html
..............\..........\........\node.html
..............\..........\........\paste-type.html
..............\..........\........\qqstyle.html
..............\..........\........\readonly.html
..............\..........\........\simple.html
..............\..........\........\uploadbutton.html
..............\..........\........\url-type.html
..............\..........\........\word-count.html
..............\..........\kindeditor-all-min.js
..............\..........\kindeditor-all.js
..............\..........\kindeditor-min.js
..............\..........\kindeditor.js
..............\..........\lang\ar.js
..............\..........\....\en.js
..............\..........\....\ko.js
..............\..........\....\zh_CN.js
..............\.