易截截图软件、单文件、免安装、纯绿色、仅160KB

Comet:Jquery+asp.net实现http长连接(LongPoll)

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="JqueryAjaxLongPoll.aspx.cs" Inherits="JqueryAjaxLongPoll" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script type="text/javascript" src="script/jquery-1.2.6.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("#Button1").bind("click",{btn:$("#Button1")},function(evdata){
                $.ajax({
                    type:"POST",
                    url:"JqueryAjaxLongPoll.aspx",
                    dataType:"json",
                    timeout:10000,
                    data:{ajax:"1",time:"10000"},
                    success:function(data,textStatus){
                            //alert("ok!");
                     


相关文档:

asp.net回调更新gridview

      以前写过关于回调的代码,今天想用的时候又找不到了,费了好大劲才搞定,纪录一下,以备后用。
      其实比较简单,关键是最后一行调用的函数renderGrid(_grid)。
      public string sCallBackFunctionInvocation;
string ret ......

asp.net 调试 无法显示该网页

在用VS2008调试网站的时候,突然页面不能正常显示了,IE显示“无法显示该网页”。
症状一:
  IE地址栏里面显示的端口号和桌面任务栏右下角“ASP.NET Development Server”的端口不一致,而把IE地址栏的端口号改成“ASP.NET Development Server”显示的端口号,结果网页就能出来。
解决 ......

asp.net 控件的生命周期

  ASP.NET 2.0服务器控件开发----控件生命周期
服务器控件生命周期简介
  服务器控件的生命周期是创建服务器控件最重要的概念。作为开发人员,必
须对服务器控件生命周期深刻理解。当然,这不是一朝一夕就可以做到的。对于
学习控件开发技术的初学者,可以不必掌握得非常详细深入,只需对服务器控件
的生命周 ......

ASP.NET页面之间传递值的几种方法

 
 
 
 
 ASP.NET中实现页面间的参数传递 (转载)
                                     &n ......

关于asp.net mvc路由表

当新创建一个asp.net mvc应用程序,会自动产生一个路由配置。
Global.asax.cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace mvcApp
{
// Note: For instructions on enabling IIS6 or IIS7 classic m ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号