using System;
|
using System.Collections.Generic;
|
using System.Reflection;
|
using System.Web;
|
using Terra.YaoGan.Service;
|
using Terra.YaoGan.Common;
|
|
namespace Terra.YaoGan.Web.Ashx
|
{
|
/// <summary>
|
/// FirstAndSecond 的摘要说明
|
/// </summary>
|
public class FirstAndSecond : IHttpHandler
|
{
|
|
public void ProcessRequest(HttpContext context)
|
{
|
|
string Action = context.Request["Action"];
|
MethodInfo mif = this.GetType().GetMethod(Action);
|
if (mif != null)
|
{
|
mif.Invoke(this,new Object[]{ context});
|
}
|
}
|
|
public void GetFSName(HttpContext context)
|
{
|
string id = context.Request["id"];
|
GetTableBySql gt = new GetTableBySql();
|
string dj=DataTableToJson.DtToJson(gt.GetFisrtAndSecondTable(id));
|
context.Response.Write(dj);
|
}
|
|
|
public bool IsReusable
|
{
|
get
|
{
|
return false;
|
}
|
}
|
}
|
}
|