将通用列表转换为asp.net中的DataSet或datatable [英] Casting the generic List to DataSet or datatable in asp.net

查看:164
本文介绍了将通用列表转换为asp.net中的DataSet或datatable的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在用C#开发Web应用程序并使用linq.
我想在列表中的列表中显示详细信息. ,那么它如何加载到
ReportDocument中的GetDatatSource()接受DataSet或DataTable.
所以我想转换List<>到数据集.
请指导我解决这个问题.

致谢,
Muniyan

Hello Everyone,

I''m developing the web application in C# and using the linq.
I want to show the details in report which in List<> ,so how it can load in the
GetDatatSource() in ReportDocument which is accepting the DataSet or DataTable .
So i want to convert the List<> to Dataset.
Please,guide me to solve this problem.

Regards and Thanks,
Muniyan

推荐答案

在这里看看:

这篇关于将通用列表转换为asp.net中的DataSet或datatable的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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