Noah Anleitner

Noah Anleitner

  • NA
  • 7
  • 1.8k

How to Export DataGrid to Excel using C#

May 10 2019 8:30 AM
Hello, I would like to export my DataGrid to Excel with the filename typed into a textbox, but I have no idea how to do it. Everything I found on the internet was with DataGridViews. But they don't work for me. Can someone give me a code example which I can integrate into my program?

Answers (5)