📄 ajax.aspx.cs
字号:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class web_ajax_ajax : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
int ApplicationID = int.Parse(Request.Form["ApplicationID"]);
int FlowIndex = int.Parse(Request.Form["FlowIndex"]);
DataTable dt= BLL.bMain.GetMouseShowInfo(ApplicationID, FlowIndex);
if (0 == dt.Rows.Count)
{//
Response.Write("当前环节还未开始!");
}
else
{
System.Text.StringBuilder str = new System.Text.StringBuilder();
str.Append("<table>");
str.Append("<tr>");
str.Append("<td>");
str.Append("当前状态");
str.Append("</td>");
str.Append("<td>");
str.Append(dt.Rows[0]["Tmp_Status"].ToString());//当前状态
str.Append("</td>");
str.Append("</tr>");
str.Append("<tr>");
str.Append("<td>");
str.Append("受理人");
str.Append("</td>");
str.Append("<td>");
str.Append(dt.Rows[0]["UserName"].ToString());//受理人
str.Append("</td>");
str.Append("</tr>");
str.Append("<tr>");
str.Append("<td>");
str.Append("开始时间");
str.Append("</td>");
str.Append("<td>");
str.Append(dt.Rows[0]["Tmp_StartTime"].ToString());//开始时间
str.Append("</td>");
str.Append("</tr>");
str.Append("<tr>");
str.Append("<td>");
str.Append("结束时间");
str.Append("</td>");
str.Append("<td>");
str.Append(dt.Rows[0]["Tmp_EndTime"].ToString());//结束时间
str.Append("</td>");
str.Append("</tr>");
str.Append("<tr>");
str.Append("<td colspan=2>");
str.Append("<a target='_blank' href='");
str.Append("ShowAccessories.aspx?aahcid=" + dt.Rows[0]["aahcid"].ToString());//相关文档的链接
str.Append("'>");
str.Append("点击查看相关文档");
str.Append("</a>");
str.Append("</td>");
str.Append("</tr>");
str.Append("");
str.Append("");
str.Append("</table>");
Response.Write(str.ToString());
Response.End();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -