DataSet ds=null;
try
{
if(File1.Value! ="")
{
string strFile=Convert .ToString(Syste m.IO.Path.GetFi leName(File1.Po stedFile.FileNa me));
string[] file ;
file = strFile.Split(' .');
if(file[1].ToLower() =="xls")
{
if(!System.IO.F ile.Exists(Serv er.MapPath (@"../XLSFiles/"+strFile)) )
{
File1.PostedFil e.SaveAs(Server .MapPath(@"../XLSFiles/"+strFile)) ;...
Leave a comment: