Sir, I have taken a table with four textboxes in it, which are assigened different fields that are fetched from the database by using the NeedDatasource event of the table.
Private Sub table1_NeedDataSource(ByVal sender As Object, ByVal e As System.EventArgs) Handles table1.NeedDataSource, table1.NeedDataSource
Dim ds2 As New DataSet()
Dim table As Telerik.Reporting.Processing.Table = DirectCast(sender, Telerik.Reporting.Processing.Table)
objReporting = New Reporting
Dim category As String
Dim category1 As String
category = Me.ReportParameters("officecode").Value
category1 = Me.ReportParameters("Postcode").Value
objReporting.OfficeCode = category
objReporting.OfficeGroup = category1
ds2 = objReporting.FetchSalary()
Dim view As DataView = ds2.Tables(0).DefaultView
view.Sort = "TotalSalary DESC"
table.DataSource = view
End Sub
Me.lblPresentPost.Location = New Telerik.Reporting.Drawing.PointU(New Telerik.Reporting.Drawing.Unit(0.099999986588954926, Telerik.Reporting.Drawing.UnitType.Inch), New Telerik.Reporting.Drawing.Unit(0.40000009536743164, Telerik.Reporting.Drawing.UnitType.Inch))
Me.lblPresentPost.Name = "lblPresentPost"
Me.lblPresentPost.Size = New Telerik.Reporting.Drawing.SizeU(New Telerik.Reporting.Drawing.Unit(0.91458332538604736, Telerik.Reporting.Drawing.UnitType.Inch), New Telerik.Reporting.Drawing.Unit(0.17500001192092896, Telerik.Reporting.Drawing.UnitType.Inch))
Me.lblPresentPost.Value = "= Fields.presentpost"
for further details please see the attached doc file
thanks
Ankit