代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,17 +1,11 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace WordEdit
|
||||
{
|
||||
public partial class save : System.Web.UI.Page
|
||||
{
|
||||
|
||||
|
||||
//参数savetype定义要另存的文档格式office,html,pdf
|
||||
//参数filetype定义要保存的文档的文件内型
|
||||
public string savetype, filetype, fid, title, fother, fname, fname1;
|
||||
@@ -43,7 +37,7 @@ namespace WordEdit
|
||||
case "1":
|
||||
saveoffice();
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
saveoffice();
|
||||
break;
|
||||
@@ -54,7 +48,7 @@ namespace WordEdit
|
||||
public void saveoffice()
|
||||
{
|
||||
string uploadoffiepath = Server.MapPath("~/");//上传文件的路径
|
||||
// string uploadoffiepath = filepath;//上传文件的路径
|
||||
// string uploadoffiepath = filepath;//上传文件的路径
|
||||
string attpath = Server.MapPath(attachpath);//上传附件文件路径
|
||||
|
||||
System.Web.HttpFileCollection uploadFiles = Request.Files;
|
||||
@@ -72,11 +66,11 @@ namespace WordEdit
|
||||
// theFile.SaveAs(uploadoffiepath + @"\" + fname);
|
||||
var path = theFile.FileName.Replace(Funs.SGGLUrl, "");
|
||||
theFile.SaveAs(uploadoffiepath + path);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user