upload.aspx.cs
using system;
using system.collections; using system.componentmodel; using system.data; using system.drawing; using system.web; using system.web.sessionstate; using system.web.ui; using system.web.ui.webcontrols; using system.web.ui.htmlcontrols; using system.io;namespace uploadnote
{ /// <summary> /// webform1 的摘要说明. /// </summary> public class upload : system.web.ui.page { protected system.web.ui.webcontrols.label fname; protected system.web.ui.webcontrols.label fenc; protected system.web.ui.webcontrols.label fsize; protected system.web.ui.webcontrols.label labelerror; protected system.web.ui.htmlcontrols.htmlinputfile myfile; protected system.web.ui.htmlcontrols.htmlinputbutton button1; private void page_load(object sender, system.eventargs e) { // 在此处放置用户代码以初始化页面 if(labelerror.text != "") { labelerror.text = ""; ... 下一页