求教.net里使用jquery ajax的方法
C# code:
protected void Button1_Click(object sender, EventArgs e)
{
System.IO.File.Delete("01.html");
Response.Write("正在删除01.html成功");
System.IO.File.Delete("xx.html");
Response.Write("正在删除xx.html成功");
System.IO.File.Delete("hh.html");
Response.Write("正在删除hh.html成功");
System.IO.File.Delete("kk.html");
Response.Write("正在删除05.html成功");
System.IO.File.Delete("uuu.html");
Response.Write("正在删除uuu.html成功");
System.IO.File.Move("oo.html", "ooo.html");
Response.Write("oo.html重命名ooo.html成功");
System.IO.Directory.CreateDirectory("aa");
Response.Write("创建aa目录成功");
System.IO.Directory.Delete("bb");
Response.Write("创建bb目录成功");
}
上面的方法步骤,怎么通过jquery的ajax方式一步一步的输出,达到实时显示,即操作既显示。
最好能有代码,先送上100分,如果解决了问题在送上100分
帮顶
Up
谢谢楼上,200分送上~
相关问答:
请哥哥姐姐弟弟妹妹叔叔阿姨们帮帮忙
我遇见了一个跟您一样的问题,就是我的 Visual Web Developer 2008 简体版 安装AJAX的时候也出现问题,我下载AjaxControlToolkit
了也解压了,但是没有安装AspAjaxExtSetu ......
aspx文件
<webdiyer:aspnetpager id="pager2" runat="server" firstpagetext="首页"
&nb ......
打开页面,就有js才错误,说缺少对象。
//功能 : 获取选择 树节点 的 id ,使用dwr获取数据,并填充 下拉列表
// isContainSubNode 为多选框,只是用于标识而已
<script type=& ......
前台代码:
C# code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="tttt.aspx.cs" Inherits="tttt" %>
<%@ Register Assembly="System.W ......