I am using this code for merging cells in my project.
CellRangeAddress region = new CellRangeAddress(5, 5, 0, 10);
After creating all cells I want to autosize column for that I am writing below code.
for (int l = 0; l < dt.Columns.Count; l++)
But Autosizing column not working.
Please provide me solution as soon as possible.