Click here to Skip to main content
15,890,438 members

Comments by kanna443 (Top 19 by date)

kanna443 16-Apr-16 1:32am View    
Yes.Thanks
kanna443 14-Apr-16 6:02am View    
thanks.issue with file name only,I am getting full path in IE.So I trimmed the file name only by using below code

if (excelfile.FileName.EndsWith("xls") || excelfile.FileName.EndsWith("xlsx"))
{

Excel.Application application = null;
Excel.Workbook workbook = null;
Excel.Worksheet worksheet = null;
Excel.Range range = null;

string[] val = excelfile.FileName.Split('\\');
string FileName = val[val.Length - 1];

string path = Server.MapPath("/Upload/" + FileName);
if (System.IO.File.Exists(path))
System.IO.File.Delete(path);
excelfile.SaveAs(path);

}
kanna443 4-Jul-15 8:25am View    
yes.actually i got .msi file.so i cannot debug the setup..let me check with provider

Thanks wes Aday:)
kanna443 13-Oct-14 9:24am View    
i tried below code.but its allowing me only files not video files
kanna443 17-Jul-14 7:32am View    
yes with same code loading my parent page but taking long time.so how can i give progress image.
how to achieve this