我想将文件大小上传限制为某个限制.但是,这里的问题是我想在超过上传大小时提供弹出警报.但是,此处的网页显示以下错误
HTTP Error 404.13 - Not Found
Run Code Online (Sandbox Code Playgroud)
The request filtering module is configured to deny a request that exceeds the request content length.
这是我的代码
protected void Button1_Click(object sender, EventArgs e)
{
if (fuDocpath.HasFiles)
{
try
{
DateTime now = DateTime.Now;
lbldateStamp.Text = now.ToString("mm_dd_yyyy_hh_mm_ss");
//string foldername = lblsessionID.Text + "_" + lbldateStamp.Text;
string folderpath = (Server.MapPath("~/Uploaded_Files/") + lblsessionID.Text + "_" + lbldateStamp.Text + "/");
Directory.CreateDirectory(folderpath);
if (fuDocpath.PostedFile.ContentLength < 20970000)
{
try
{
foreach (HttpPostedFile files in fuDocpath.PostedFiles)
{
string filename = …Run Code Online (Sandbox Code Playgroud) 代码如下:
cursor c1 is
select x, y, a.z, b.z "a1" from t3 a, t4 b;
Run Code Online (Sandbox Code Playgroud)
以下从c1获取数据为
insert into t1 (x, y, z, z1) values (c1.x, c1.y, c1.z, c1.a1);
Run Code Online (Sandbox Code Playgroud)
编译后,由于未声明组件a1,因此出现错误.和列不允许在这里.PLSQL的新功能,因为我认为不需要声明别名.