Report/unSendedReport.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**************************************************************************************
作者:Created By zhouzheng.
创建日期:2002-11-11
修改者:
修改日期:
修改部分:
类功能:发送工作汇报
****************************/
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;
using OI.DatabaseOper ;
using System.Diagnostics ;
namespace OI.Report
{
/// <summary>
/// unSendedReport 的摘要说明。
/// </summary>
public partial class unSendedReport : OI.PageBase
{
private DatabaseOper.DatabaseConnect dc = new DatabaseOper.DatabaseConnect();
string intReportID;
protected void Page_Load(object sender, System.EventArgs e)
{
intReportID =Request.QueryString ["ReportID"].ToString ();
// 在此处放置用户代码以初始化页面
if (!IsPostBack)
{
ViewState["intUserID"]=intReportID;
this.select();
}
}
private void select()
{
string sql="SELECT * FROM report WHERE ReportID='"+intReportID+"'";
DataSet ds=dc.getBinding (sql,"report");
TextBoxTitle.Text =ds.Tables[0].Rows[0]["Title"].ToString ();
TextBoxFileDescription.Text =ds.Tables[0].Rows[0]["FileDescription"].ToString();
TextBoxContent.Text =ds.Tables[0].Rows[0]["Content"].ToString ();
FilePath.Value =ds.Tables[0].Rows[0]["FilePath"].ToString ();
}
private void Complete()
{
this.ButtonSend.Visible=true;
this.TextBoxContent.ReadOnly=true;
this.TextBoxFileDescription.ReadOnly=true;
this.TextBoxTitle.ReadOnly=true;
this.DropDownListUserID.Enabled=false;
}
#region Web 窗体设计器生成的代码
override protected void OnInit(EventArgs e)
后面还有 63 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。