I have a database which contains 5 tables. Each table contains 24 rows and each row contains 4 columns.
I want to display these records in Excel sheet. The heading o
using Excel = Microsoft.Office.Interop.Excel; // Your code... yourWorksheet.Range[yourWorksheet.Cells[rowBegin,colBegin], yourWorksheet.Cells[yourWorksheet.rowEnd, colEnd]].Merge();
Row and Col start at 1.