21 lines
554 B
C#
21 lines
554 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
using System.Configuration;
|
|
using System.Web.Configuration;
|
|
using WebLib;
|
|
|
|
namespace Education.Forms.Common
|
|
{
|
|
public partial class FileTooLarge : FormBase
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
HttpRuntimeSection section = (HttpRuntimeSection)ConfigurationManager.GetSection("system.web/httpRuntime");
|
|
lbFileLimit.Text = section.MaxRequestLength.ToString();
|
|
}
|
|
}
|
|
} |