Click here to Skip to main content
14,872,753 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have Nested Gridviews in my program..I want to export Grid details with same format in excel.

For Instance, I have customer Id,Order ID Detail in main Grid..when I am Expanding Main grid..It's displaying the gender, customer name in nested grid.

Like same as I want to Export in Excel..

What I have tried:

Can any one help me.. I don't have any idea.
Garth J Lancaster 4-Mar-17 1:19am
I think you can find plenty of results in Google for this - some even here on CP

these answers may show you how to 'traverse' the GridView - obviously if they are exporting to HTML or such, you'd have to 'build' csv lines instead to write to a file
Developer29 4-Mar-17 5:10am
Some files are missing in this link...
Garth J Lancaster 4-Mar-17 7:03am
am I supposed to guess which ? .. since you show a reluctance to actually do any research of your own, I'll give you the best suggestion I can .. "make Google your friend"

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