desktop/StreamDetail.aspx.cs
(开头部分) 10KB这里只显示每个文件的开头 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.desktop
{
/// <summary>
/// StreamDetail 的摘要说明。
/// </summary>
public partial class StreamDetail : OI.PageBase
{
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(this.IsPostBack)
return;
int streamID=0;
string DocumentID = "";
Label_Alert.Text="";
if (Request.QueryString["DocumentID"] != null)
DocumentID=Request.QueryString["DocumentID"].ToString();
// }
// catch
// {
// Response.Write("<script language=javascript>\n alert(\"未找到此工作流,请检查地址栏传入的参数是否正确\");\n history.back(); \n</script>");
// Response.End();
// }
//若DocumentID 未传过来则直接取 streamID 参数
if (DocumentID != "")
{
OI.DatabaseOper.DatabaseConnect oConn = new OI.DatabaseOper.DatabaseConnect();
string szSql = "select streamID from document where documentID=" + DocumentID;
streamID = System.Int32.Parse( oConn.GetValueBySql(szSql));
}
else
{
if (Request.QueryString["StreamID"] != null)
streamID = int.Parse(Request.QueryString["StreamID"].ToString());
if (streamIsUsing(streamID))
Label_Alert.Text = "(有文档正在使用该流程,所以不能更改,只能查看!)";
}
this.dataInit(streamID);
}
/// <summary>
///
后面还有 195 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。