#region 文件上传-获取上传文件路径
public string FilePath()
{
DataTable dtStu = s1.select(" select * from Student_V where tblstudentid = " + studentID + "");
string userName = "";
if (dtStu.Rows.Count > 0)
{
userName = dtStu.Rows[0]["name"].ToString();
}
System.Web.HttpFileCollection _file = System.Web.HttpContext.Current.Request.Files;
string path = "";
//if (_file.Count > 0)
if (_file[0].ContentLength > 0)
{
long size = _file[0].ContentLength;
string type = _file[0].ContentType;
string name = _file[0].FileName;
string _tp = System.IO.Path.GetExtension(name);
if (_tp.ToLower() == ".docx")
{
System.IO.Stream stream = _file[0].InputStream;