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);
        }
Esempio n. 2
0
    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);
    }
Esempio n. 3
0
 protected void submitaction(object sender, EventArgs e)
 {
     GridWebchart.RefreshChartShape();
 }