摘要:
protected void Button1_Click(object sender, EventArgs e) { if (FileUpload1.PostedFile.FileName == "") { Page.ClientScript.RegisterStartupScript(Page.GetType(), "message"... 阅读全文
摘要:
protected void btnfileup_Click(object sender, EventArgs e) { try { if (FileUpload1.PostedFile.FileName == "") { Page.ClientScript... 阅读全文
摘要:
首先在web.config中添加: <system.web> <httpRuntime maxRequestLength="40960" executionTimeout="6000"/> </system.web> 提交按钮的代码如下 protected void btnfileup_Click(object sender, EventArgs e) {... 阅读全文