private ReportDto GetEvaluationReports(Guid evaluationId){ var dto = new ReportDto(); var result = (from e in ... ).ToList(); dto.Attributes = result; return dto;}public class ReportDto{ public List<Attribute> Attributes { get; set; }}public class Attribute{ public Guid Id { get; set; } public string AttributeText { get; set; } public IQueryable<EvaluationDefinition> DefinitionsQuery { get; set; } public List<EvaluationDefinition> Definitions { get { return DefinitionsQuery.ToList(); } }}public class EvaluationDefinition{ public Guid Id { get; set; } public string DefinitionText { get; set; } public IQueryable<EvaluationBookmark> BookmarksQuery { get; set; } public List<EvaluationBookmark> Bookmarks { get { return BookmarksQuery.ToList(); } }}public class EvaluationBookmark{}' Creating and configuring the ObjectDataSource component:
Dim objectDataSource As New Telerik.Reporting.ObjectDataSource()
' GetData returns a DataSet with three tables
objectDataSource.DataSource = vDatos.GetPagos_x_Cliente(gRep3_Cliente_id, gRep3_Fec_Ini, gRep3_Fec_FIn)
Indicating the exact table to bind to. If the DataMember is not specified the first data table will be used.
objectDataSource.DataMember = "GF_PAYS_FOR_CUSTOMER" '
' Assigning the ObjectDataSource component to the DataSource property of the report.
Me.DataSource = objectDataSource
-----------------------------------------------------------------------------------
so how i use other datasource ??
I attach a picture to describe what I need.
Need help thanks
Private Sub txt_customer_id_ItemDataBound(sender As System.Object, e As System.EventArgs) Handles txt_customer_id.ItemDataBound<br><br> Dim vCustomerID As Integer = Nothing<br> vCustomerID = txt_customer_id.Value<br><br> vRec = vData.GetBalance_Customer(vCustomerID.Value)<br> vRec.Read()<br><br> txt_balance_.Value = vRec.Item("balance_customer")<br> vRec.Close()<br>End Sub<br>