如何把我查询出来的数据DataTable做成rdlc 报表,急啊!
本人刚学做报表,做的是rdlc报表.我查询出来一个Data Table
private DataTable getAaavresByDate()
{
string ls_Sql = "select a.avdate , a.avres , a.avref ,reqcate= case .......
DataTable ldt_Data = null;
try
{
ldt_Data = DBCommonUtils.GetDataTable(ls_Sql);
ldt_Data.Dispose();
}
catch (Exception ex)
{
if (ldt_Data != null)
ldt_Data.Dispose();
}
return ldt_Data;
}
怎么把Data table作为数据源做报表,帮我解决下,不甚感激!