如何在C#中将重复控制导出为csv文件格式 [英] How to export repeter control to csv file format in C#

查看:72
本文介绍了如何在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.


这篇关于如何在C#中将重复控制导出为csv文件格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆