⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bindalbum.cs

📁 企业内部的短信交流管理平台。 设计详细
💻 CS
字号:
using System;
using System.Data;
using System.Data.SqlClient;

namespace Com.SMS.SMSUI.AjaxMake
{
	/// <summary>
	/// BindAlbumType 的摘要说明。
	/// </summary>
	public class BindAlbum :System.Web.IHttpHandler
	{
		#region IHttpHandler 成员

		public void ProcessRequest(System.Web.HttpContext context)
		{
			int abtId=Convert.ToInt32(context.Request["abtId"]);
			
			Dal.AlbumMake am=new Com.SMS.Dal.AlbumMake();
			DataTable dt=am.FindByType(abtId);

			string result="";
			for(int i=0;i<dt.Rows.Count;i++)
			{
				result+=dt.Rows[i][0].ToString()+"\t"+dt.Rows[i][1].ToString()+"\n";
			}
			
			string resultaa="-1"+"\t"+"所有"+"\n"+result;
			context.Response.Write(resultaa);
		}

		public bool IsReusable
		{
			get
			{
				// TODO:  添加 BindAlbumType.IsReusable getter 实现
				return false;
			}
		}

		#endregion
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -