SendMessage/SendFileList.aspx.cs

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System; 
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

namespace OI.SendMessage
{
	/// <summary>
	/// SendFile 的摘要说明。
	/// </summary>
	public partial class SendFileList : OI.PageBase 
	{
		protected OI.UserControls.documentno Documentno1;
		protected OI.DatabaseOper.DatabaseConnect oConn = new OI.DatabaseOper.DatabaseConnect();
	
		protected void Page_Load(object sender, System.EventArgs e)
		{
			// 在此处放置用户代码以初始化页面
			if (Session["userid"]==null)
			{
				Response.Write ("<script>alert('超时,请重新登录');top.location.href='../userpass.aspx';</script>");
				return ;
			}
			if (IsPostBack)
				return;
			BindData();
		}

		private void BindData()
		{
			Documentno1.StreamStep = "发文办理";
			Documentno1.LinkUrlByTitle = "DocDetail.aspx";
			Documentno1.OpraterCloumnName = "发文登记";
            Documentno1.OPtype ="send";
		}

//		private void BindGrid()
//		{
//			string szSql;
//			string mDepartment;
//
//			szSql = "select DepartmentID from Accounts_Users where UserID=" + Session["userid"].ToString();
//			mDepartment = oConn.GetValueBySql(szSql);
//
//			szSql = "select * from Document where DraftDepartment='" + mDepartment + "' and MainSendComp = null";
//			DataSet ds = oConn.getBinding(szSql,"Temp");
//
//			DataGridSend.DataSource = ds.Tables["Temp"];
//			DataGridSend.DataBind();
//		}

		#region Web 窗体设计器生成的代码
		override protected void OnInit(EventArgs e)
		{
后面还有 18 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。