如何使用CV的用户链接? [英] how can use a link for user of CV?
本文介绍了如何使用CV的用户链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的所有
我做了一个职位门户网站,其中我正在使用Cv加载我怎么能回来同样的cv wiout更改用户或求职者给出的名称
Dear All
I HAve MAke A Website of job portal in which i Am using a Cv load how i can get back same cv wiout changes it name given by user or job seeker
推荐答案
首先使用
string imgName=Path.GetFileName(SourcePath)
然后您将获得该文件的名称并在保存文件时使用该文件名
喜欢
then you will get name of the file and use that file name while saving the file
like
File.Move(sourcepath,destinationPath+"\\"+imgName)
首先将该文件上传到项目内的文件夹并将文件保存在db中,然后检索使用该名称的文件。保存文件名时检查重复DB中的名称。点击它时显示简历的名称,
参考此
http ://www.aspsnippets.com/Articles/Display-Word-document-on-web-page-in-ASP.Net.aspx [ ^ ]
first you Upload that file to to folder inside the project and save the file in db , then retrieve the file using that name. when saving the file name check Repeating names in DB. Show the names of CV as links when click it ,
refer this
http://www.aspsnippets.com/Articles/Display-Word-document-on-web-page-in-ASP.Net.aspx[^]
这篇关于如何使用CV的用户链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文