private void LoadData() { // Gets the web application's path. string path = (this.Master as Site).GetDataDir(); // Clear the sheets GridWeb1.WorkSheets.Clear(); // Load the file GridWeb1.ImportExcelFile(path + "\\Articles\\Data.xlsx"); } }