private void InitData()
{
// Gets the web application's path.
string path = (this.Master as Site).GetDataDir();
string fileName = path + "\\Worksheets\\Hyperlink.xls";
// Clears datasheets first.
GridWeb1.WorkSheets.Clear();
// Imports from an excel file.
GridWeb1.ImportExcelFile(fileName);
AddTextHyperlinks();
AddImageHyPerlinks();
}