SGGL_SHJ/SGGL/FineUIPro.Web/AttachFile/OnlineEditing.aspx.cs

76 lines
1.8 KiB
C#

using BLL;
using RestSharp;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.AttachFile
{
public partial class OnlineEditing : System.Web.UI.Page
{
#region
public string UserId
{
get
{
return (string)ViewState["UserId"];
}
set
{
ViewState["UserId"] = value;
}
}
public string UserName
{
get
{
return (string)ViewState["UserName"];
}
set
{
ViewState["UserName"] = value;
}
}
public string PCUrl
{
get
{
return (string)ViewState["PCUrl"];
}
set
{
ViewState["PCUrl"] = value;
}
}
public string CanSave
{
get
{
return (string)ViewState["CanSave"];
}
set
{
ViewState["CanSave"] = value;
}
}
#endregion
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
UserId = Request.Params["UserId"];
// UserId = "C4A62EC0-E5D3-4EBF-A5FA-E56AA89633C0";
CanSave = Request.Params["CanSave"];
PCUrl = Request.Params["PCUrl"];
// PCUrl = "https://sggl.sedin.com.cn/FileUpLoad/K350-ZBJH-001.doc";
UserName=BLL.Person_PersonsService.GetPersonsNameById(UserId);
CanSave = "true";
}
}
}
}