Hi,
I want the User should get CV instead of CVFilePath. I am able to get the CVFilePath as per it has been called. But unable to get the Resume doc. Can anyone help me how to get the CV to be sent on Button click.
Please see the code for your reference.
Button Click code:-
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (uploadCV.PostedFile.ContentLength > 0)
{
var fileName = Path.GetFileNameWithoutExtension(uploadCV.PostedFile.FileName);
var ext = Path.GetExtension(uploadCV.PostedFile.FileName);
if (ext != ".doc" && ext != ".pdf" && ext != ".docx" && ext != ".rtf")
{
lblerrorUploadCV.Text = "Only .pdf and .doc files can be uploaded";
ClientScript.RegisterStartupScript(this.Ge ...
Go to the complete details ...