I have a datagridview which I want to export that to excel. It works perfectly but it has a problem in excel. I have some columns which named like 7/8 7/9 …. in sql it shows them like [7/8] [7/9] …. but when I export that to excel those columns names will show with the month name like : 8-jul 9-jul but I don’t want them to show like that.
I want to show exactly like columns names in sql.
What should I do?
Any help will be appreciated
it’s simple just use a space in
[7/8]like[ 7/8]