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.
GridWeb1.ImportExcelFile(fileName);
}