Click here to Skip to main content
15,885,953 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Dear Team,

I Want to Generate excel from sql database using c# but i want different column header from Sql.

like Management Information System.

Pls help
Posted
Comments
[no name] 29-Jun-14 13:57pm    
Help with what? This is not anymore of a question or a description of a problem than the first time you asked.

Use this component and it has samples : http://epplus.codeplex.com/[^]
 
Share this answer
 
Alter the column names in the SQL query.

SELECT somecolumn AS newname ...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900