Inserting data into an excel sheet from a DataTable

前端 未结 2 1875
迷失自我
迷失自我 2020-12-10 09:48

I\'m extracting data from the database into a DataTable and displaying it by binding it to a Repeater control. Now I need to copy the same data int

2条回答
  •  伪装坚强ぢ
    2020-12-10 10:44

    You can create a .csv file. This is quick and easy, and makes it possible to open it in excel.

    This post relates to yours:

    Convert DataTable to CSV stream

提交回复
热议问题