Click here to Skip to main content
15,916,180 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i tried many examples but all examples are binding grid view in page load..
but in my application am searching records in two textbox and showing tat records in datagridview and tat datagrid view am exporting to excel but am getting error as "object reference is not ......"

so can any one suggest me any other example?

thank u
Posted

 
Share this answer
 
We cannot help you unless we see what you have tried.
Here is some samples and similar issues...

Exporting DataGrid to Excel, Word and Text Files[^]

Export GridView Data to Excel using OpenXml[^]

Regards
Sebastian
 
Share this answer
 
 
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