private void LoadData() { // Gets the web application's path. string path = (this.Master as Aspose.Cells.GridWeb.Examples.CSharp.Site).GetDataDir(); string fileName = path + "\\Miscellaneous\\Charts.xls"; // Imports from an excel file. GridWebchart.ImportExcelFile(fileName); }
private void LoadData() { // Gets the web application's path. string path = Server.MapPath("~"); path = path.Substring(0, path.LastIndexOf("\\")); string fileName = path + "\\File\\charttest.xls"; // Imports from a excel file. GridWebchart.ImportExcelFile(fileName); }
protected void submitaction(object sender, EventArgs e) { GridWebchart.RefreshChartShape(); }