DEMO2
来源:互联网 发布:windows 10d盘分区 编辑:程序博客网 时间:2024/05/09 14:38
<%@ WebHandler Language="C#" Class="GetProvince" %>
using System;
using System.Web;
public class GetProvince : IHttpHandler {
Class2 classin=new Class2();
public void ProcessRequest (HttpContext context) {
context.Response.ContentType = "text/plain";
System.Data.DataSet ds=classin.getProvince();
System.Data.DataTable dtb= ds.Tables[0];
context.Response.Write("document.write('<ul>');\n");
for(int i=0;i<dtb.Rows.Count;i++)
{
string getinfo=dtb.Rows[i]["PidName"].ToString();
context.Response.Write("document.write('<li>');\n");
// context.Response.Write("document.write('<a href=\"" + dr["LinkUrl"] + "\">');");
context.Response.Write("document.write('<a class='hide' href='#'>');\n");
context.Response.Write("document.write('aaaaaaaaaaaa');\n");
//context.Response.Write("document.write(" + getinfo + ");\n");
context.Response.Write("document.write('</a>');\n");
context.Response.Write("document.write('</li>');\n");
}
context.Response.Write("document.write('</ul>');\n");
}
public bool IsReusable {
get {
return false;
}
}
}
<script type="text/javascript" src="/Tools/Advert_js.ashx?id=1"></script>
- Demo2
- DEMO2
- demo2
- Demo2
- Demo2总结
- 蓝牙Demo2
- 线程demo2
- 函数Demo2
- nginx demo2
- ajax demo2
- LeapMotion Demo2
- 重构Demo2
- shu.js demo2
- lucene入门DEMO2
- js弹出层demo2
- java观察者Demo2
- struts2 注解 demo2
- spring-websocket demo2
- 一台机器同时运行多个tomcat服务
- 用一般MFC生成COM的EXE, 记得加上 1 TYPELIB "XXXXXXXXS.tlb"
- JAVA [BigInteger]
- XPCOM字符串操作(一)
- DEMO
- DEMO2
- 实现网页文本框显示灰色提示文字且点击后消失的一个小函数(基于jquery)
- Flex内存优化
- JAVA [BigDecimal]
- 网络游戏中使用Nagle算法(TCP_NODELAY=0)注意事项
- 11. A close mouth catches no flies. 病从口入
- SQL日期集合-周、月、季度、年等计算以及自定义函数
- JAVA [Timer]
- 1380 做饺子皮