Custom Search
string strFileName = Path.GetFileName(fUpload1.PostedFile.FileName);
//above line we will get the uploaded filename
string strExtn = Path.GetExtension(fUpload1.PostedFile.FileName);
//above line we will get the extension of uploaded file
//above line we will get the uploaded filename
string strExtn = Path.GetExtension(fUpload1.PostedFile.FileName);
//above line we will get the extension of uploaded file
No comments:
Post a Comment
Comments