English 中文(简体)
• 如何在保持“设计/审查”能力的同时,将电传报告与来自商业物体的数据联系起来?
原标题:How to bind Telerik Report to DataTable from a business object while keeping "design/preview" capabilities?
  • 时间:2011-01-26 21:05:46
  •  标签:
  • telerik

2. 假定存在以下问题:

(1) 在申请中,我们有一个商业目标,其方法如下:

public DataTable GetCars(int modelID)  

方法见卡尔斯类。 这为特定模式提供了许多卡片。

2) 我们的团队确实希望利用Telerik报告工具中的现有设计/审查特征,为数据表中的成果设计和编写报告。

3) 我们努力利用目标数据来源将上述数据表与报告挂钩。 在选择我们的“GetCar”方法之后,izar子似乎立即终止。

您是否对你如何“再使用”我们所创造的商业目标,同时仍然保持Telerik报告设计的优势提出了任何建议?

你们能够提供的任何ps或trick,都会受到欢迎。

我们尝试了什么?

  • We know that the "design/preview" features work well for the SqlDataSource object.
  • 我们还审查了Telerik的以下条款:

最佳回答

这是一个解决办法。

1) Design your report using a SQL datasource against a table or view. 2) Design your Model method to produce the same schema of output as the SQL datasource. 3) When implementing the report in your web application, change the datasource to point to your object data source as described in the Telerik link above. We would assume that your object data source is properly related to your Model method.

问题回答




相关问题
Discuss on Commercial Component libraries of silverlight

I am now looking forward to buy a component library of silverlight for increase the productivity. I find there are number of them. Telerik ComponentOne ComponentArt Infragistics Syncfusion I found ...

Telerik RadGrid: grid clientside pagination

I have a web service which returns me some data,I am massaging this data and using this as datasource for my radgrid (telerik). The datasource is quite large, and would like to paginate it. I found ...

Binding a radgrid to a tree like data structure

I have a structure that looks following Class TreeNode { public TreeNode Parent { get; } public IEnumerable<TreeNode> Children { get; } public . . . . } I want to bind this to a ...

IQueryable into a hierarchy

I currently have an IQueryable of Questions. In my Question object I have and "id" and a "parentId" which can be used to create a hierarchy. Currently, I bind a RadTreeView to the IQueryable of ...

Expand all items in RadGrid Hierarchy

I am using a RadGrid (2009 Q2) with a hierarchy. Is there a way in the client api to expand all rows and vice-versa? thanks! Update: I have written a javascript function based off the api ...

热门标签