Click here to Skip to main content
16,019,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How can i leave the first row and column of the excel sheet while exporting the data which is binded from gridview data in asp.net
Posted
Updated 1-Aug-13 20:28pm
v2

1 solution

You can leave blank first row or you can start from second row this way you can leave first row and column of excel sheet.
Here is my code :

sheet.Range[1, 1].Text = ""; //blank first row

sheet.Range[Row,Column].Text = your data; //Starting range

Please accept as answer and vote if help to you.
 
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