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

📄 escalation.cs

📁 Help Desk Pro has three different interfaces for all three domains of users, providing them with the
💻 CS
字号:
using System;
using System.Data;
using System.Data.SqlClient ;
using System.Web.Mail;

namespace Final_Project_Alpha
{
	/// <summary>
	/// Summary description for escalation.
	/// </summary>
	public class escalation
	{

		sends_mail objmail = new sends_mail();
		connect objconn = new connect();
		DataSet ds_email = new DataSet();

		public escalation()
		{
			//
			// TODO: Add constructor logic here
			//
		}

//
		public void escalate()
		{


			objconn.openDb();			
			string email_select = "select ticket_id,status,groups.group_name,groups.email"+
									" from admin_ticket,groups"+
									" where status = 'un-resolved' AND admin_ticket.gname = groups.group_name";

			SqlDataAdapter email = objconn.adapt_all(email_select);
			SqlCommandBuilder cb_email = new SqlCommandBuilder(email);
			email.Fill(ds_email);
			DataRow r = ds_email.Tables[0].Rows[0];

			string str_email = r["email"].ToString();


		}
	}
}

⌨️ 快捷键说明

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