我需要将ComponentArt网格中的内容导出到文件中,最好是csv格式的excel。ComponentArt:导出网格数据
我想知道如果有人有任何想法如何最好地接近这项任务。目前,我们已经在网格中填充了数据,并且在向用户显示之前使用客户端模板进行一些小操作。
所应用的模板的一个例子是:
<ComponentArt:ClientTemplate Id="PostTemplate">
## DataItem.GetMember("LastPostBy").Value ##<br />## DataItem.GetMember("LastPostDate").Value ##
</ComponentArt:ClientTemplate>
Where the column definitions are:
<ComponentArt:GridColumn Width="140" HeadingText="Last Post By " DataCellClientTemplateId="PostTemplate" />
<ComponentArt:GridColumn DataField="LastPostBy" Visible="false" />
<ComponentArt:GridColumn DataField="LastPostDate" Visible="false" />
所以当电网出口,我想该文件包含的内容是在网格在出口的那一刻起,包括任何模板的变化,可能如果可能的话可见。
非常感谢您的帮助。
从此链接复制:http://www.componentart.com/community/forums/t/36556.aspx – 2012-01-21 09:58:43