1. ACM(镜像) 2. ACS 3. AIAA 4. AMS
5. Blackwell Synergy 6. Cambridge Journals 7. Cambridge Scientific Abstracts(CSA) 8. Cell Press Journals(主站点) 9. Chicago Journals 10. CrossFire Beilstein/Gmelin 11. e-Print arXiv 12. EB Online 13. Ebrary
14. EBSCOhost平台(EI、INSPEC、NTIS) 15. EEBO 16. Elsevier SDOL 17. Emerald 18. EV2(EI、INSPEC、NTIS)19. FirstSearch
20. Gale集团专题数据库(BRC、BGMI、BCRC、ECCO、GRR、LRC、OVRC、PROMT…) 21. GBIP 22. Heinonline
23. HighWire Press24. IEEE/IET(IEL) 25. IngentaConnect检索平台 26. IOP全文电子期刊(镜像) 27. IWA(国际水协会)
28. JSTOR 29. Kluwer(镜像)
30. LexisNexis
31. MathSciNet
32. MUSE
33. Nature(镜像)
34. NTIS文摘数据库
35. OSA(美国光学学会)
36. PAO
37. PressDisplay在线报纸
38. ProQuest平台(ABI、ARL、PSJ、PQDT…)
39. ProQuest学位论文全文库
40. Royal Society Journals
41. RSC(镜像)
42. SAE
43. Safari
44. SAGE(镜像)
45. Science Online
46. SciFinder Scholar(含CA网络版)
47. Scitation平台(AIP、APS、ASCE电子刊、ASCE会议录、ASME、SIAM、SPIE)
48. SIAM(镜像)
49. Socolar-Open Access资源统一检索系统
50. SpringerLink平台
51. Taylor &Francis Journals
52. Ulrich’s
53. Web of Knowledge平台(SCI/SSCI/AHCI、ISTP/ISSHP、DII、JCR、BP、CCC、CCR/IC、ESI、INSPEC…)
54. Westlaw
55. Wiley InterScience
56. WorldSciNet
57. WorldTradeLaw
58. Zbl.Math
59. NSTL购买的电子资源(IngentaConnect检索平台……)
文件下载private void DownDate(string filePath, string fileName)
{
FileInfo info = new FileInfo(filePath)
long fileSize = info.Length
fileName = System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8)
Response.Clear()
Response.ContentType = "application/msword"
Response.ContentEncoding = System.Text.Encoding.UTF8
Response.AddHeader("Content-Disposition", "attachmentfilename=" + fileName)
//不指明Content-Length用Flush的话不会显示下载进度
Response.AddHeader("Content-Length", fileSize.ToString())
Response.TransmitFile(filePath)
Response.Flush()
Response.Close()
}
文件上传
protected void Page_Load(object sender, EventArgs e) {
HttpPostedFile hPostedFile = Request.Files["Filedata"]
string path = BRC1_ATTACHMENT.GetDirectory()
string absolutPath = Server.MapPath(path)
// 验证目录是否可用
if (!FileHelper.ValidateDirectory(absolutPath)) {
Response.Write("找不到指定上传目录")
throw new System.Exception("找不到指定上传目录")
}
string fileID = "0"
if (hPostedFile != null) {
string fileName
//获取上载文件的文件名称
fileName = System.IO.Path.GetFileName(hPostedFile.FileName)
if (!string.IsNullOrEmpty(fileName)) {
using (OMTransactionScope ts = new OMTransactionScope()) {
string newFileName = string.Empty
FileHelper.UpLoadFileWithoutValidate(absolutPath, hPostedFile, out newFileName)
C1_ATTACHMENT sFile = new C1_ATTACHMENT()
sFile.SCLJ = path + newFileName // 路径
sFile.FJXMC = newFileName // 新名称
sFile.CJSJ = DateTime.Now // 创建时间
sFile.XGSJ = DateTime.Now // 修改时间
sFile.FJJMC = fileName // 原始文件名
sFile.ZT = 0 // 状态
sFile.LB = 1 // 类别
if (!string.IsNullOrEmpty(this.ZBBS))
sFile.ZBBS = this.ZBBS
if (!string.IsNullOrEmpty(this.ZBMC))
sFile.ZBMC = this.ZBMC
int returnValue = sFile.DB_InsertEntity()
if (returnValue >0) {
// 表示数据库插入成功
fileID = sFile.LSH.ToString()
// 插入日志
//Helper.InsertSysLog(this, EButtonRuleType.btnNew, "增加附件")
// 如果原始实体ID存在,则删除
if (!string.IsNullOrEmpty(this.OLD_File_ID)) {
//BRC1_ATTACHMENT.DeleteEntityAndFile(this.OLD_File_ID)
string[] oldID = this.OLD_File_ID.Split(",".ToCharArray(), StringSplitOptions.RemoveEmptyEntries)
foreach (string id in oldID) {
BRC1_ATTACHMENT.DeleteEntityAndFile(id)
}
}
ts.Complete()
} else {
// 表示数据库插入失败
FileHelper.DeleteFile(absolutPath + newFileName)
}
}
}
//result = this.DelFile(absolutPath)
}
Response.Write(fileID)
Response.End()
}
方法都是类似的,自己看看吧。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)