protected void btnimport_Click(object sender, EventArgs e) { string path = System.IO.Path.GetFileName(fileupload15.PostedFile.FileName); fileupload15.PostedFile.SaveAs(Server.MapPath("~/Import_Excel/" + path)); GvSch.DataSource = ImportExcelXLS(path, false, out message); GvSch.DataBind(); }
ImportExcelXLS
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)