Aspose.Cells.GridWeb.Examples.CSharp.Miscellaneous.Common.ConditionalFormatting.Button1_Click C# (CSharp) Method

Button1_Click() protected method

protected Button1_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        protected void Button1_Click(object sender, EventArgs e)
        {
            // Get Data directory path
            string path = (this.Master as Aspose.Cells.GridWeb.Examples.CSharp.Site).GetDataDir();
            string fileName = path + "\\Miscellaneous\\conditionalformating.xlsx";

            // Import excel file
            gwcf.ImportExcelFile(fileName);
        }
ConditionalFormatting