How to choose Color for your Logo!!

Understanding the physiology of color is very important before designing an effective logo. Our brain is inherently programmed to respond to colors. According to studies color affect more than mood – it has the ability to change our buying habits. Colors play a vital role when it comes to online shopping (in fact any kind […]

Export Gridview data to Excel (.xlsx) without using HtmlTextWriter in Asp.NET

You can use export data by using EPPlus.dll. Following is the sample code. public void ExportToExcel(){DataView dv = new DataView();System.Data.DataTable tbl = new System.Data.DataTable();dv = (DataView)SqlDataSource1.Select(DataSourceSelectArguments.Empty); // To access the data associated with Gridviewtbl = dv.ToTable(); //Following code is copied from StackOverFlow using (ExcelPackage pck = new ExcelPackage()){//Create the worksheetExcelWorksheet ws = pck.Workbook.Worksheets.Add(“Demo”); //Load the datatable into […]