📄 iframe.aspx.cs
字号:
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
namespace YXShop.Web.configuration.system
{
public partial class iframe : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Response.CacheControl = "no-cache";
}
string sh = Request.QueryString["heights"];
select_iframe.InnerHtml = select_iframelist(sh);
}
string select_iframelist(string sh)
{
//if (Str_dirMana.Trim() != "")
//{
// Str_dirMana = "/" + Str_dirMana;
//}
string liststr = "";
string srcstr = "";
string rq = Request.QueryString["FileType"];
string arrrq = rq.Split('|')[0];
switch (arrrq)
{
case "newsclass":
srcstr = "../../configuration/system/selectArea.aspx";
break;
default:
break;
}
liststr += "<iframe src=\"" + srcstr + "\" frameborder=\"0\" id=\"select_main\" scrolling=\"yes\" name=\"select_main\" width=\"100%\" height=\"" + sh + "px\" />";
return liststr;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -