2025-03-27 15:05:14 +08:00

54 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HighWay.WebSite.Handler
{
/// <summary>
/// ModuleObject_ajax 的摘要说明
/// </summary>
public class ModuleObject_ajax : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
string action_type = HttpContext.Current.Request.Form["action_type"];
string reString = string.Empty;
switch (action_type)
{
#region Ajax Module
case "Module":
//TableSchema_MODULE _TableSchema_MODULE = new TableSchema_MODULE();
//List<ColumName> _List = HiiShe.Web.Common.CommonHelper.GetColumName<TableSchema_MODULE>(_TableSchema_MODULE);
//using (MODULE _MODULE = new MODULE())
//{
// DataTable _DataTableModule = _MODULE.FillDataTable("where 1=1");
// reString = JsonHelper.DataTableToJson(_DataTableModule, "Rows");
//}
break;
#endregion
default: break;
}
string CurrentGuid = string.Empty;
context.Response.ContentType = "text/plain";
context.Response.Write(reString);
context.Response.End();
}
public bool IsReusable
{
get
{
return false;
}
}
}
}