如何在C#中将重复控制导出为csv文件格式
问题描述:
如何从C#中的转发器控件中导出csv中的文件
how to export file from csv from repeter control in C#
答
转发器只是集合的显示控件,因此您应该将集合转换为csv string(循环遍历每行的列)。
然后让用户将字符串保存为文件。
A repeater is just a display control for a collection so you should turn the collection into a csv string (loop through the columns for each row).
Then get the user to save the string as a file.