最初用FileUpload上传
HttpPostedFile file = FileUpload1.PostedFile;
size = file.ContentLength;
string filepathName = file.FileName;
int nPos = filepathName.LastIndexOf("\\");
fileName = filepathName.Substring(nPos + 1);
type = fileName.Substring(fileName.LastIndexOf(".") + 0);
byte[] fileBnData = new byte[size];
int n = file.InputStream.Read(fileBnData, 0, size);
现在想取出来转换成MP3格式的文件怎么写?
HttpPostedFile file = FileUpload1.PostedFile;
size = file.ContentLength;
string filepathName = file.FileName;
int nPos = filepathName.LastIndexOf("\\");
fileName = filepathName.Substring(nPos + 1);
type = fileName.Substring(fileName.LastIndexOf(".") + 0);
byte[] fileBnData = new byte[size];
int n = file.InputStream.Read(fileBnData, 0, size);
现在想取出来转换成MP3格式的文件怎么写?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货