I am just trying out Reporting because I have a need to generate a PDF that is "prettier" than the radgrid grids we usually use according to our customer. This reporting tool is one option.
This is a web based app, and I can generate a report successfully. Now I am trying to add a list of text boxes from a datasource. I tried to use the listboundreport example but it is not working in my instance. (Example site works fine)
I have a function that I am using as a dataset and the .vb file looks like this:
I added a textbox to the report and set the value to "=User_Name" which is a valid field returned by the dataset.
I get an error of "Missing Opertator before _name operator"
Any suggestions?
-Joel
This is a web based app, and I can generate a report successfully. Now I am trying to add a list of text boxes from a datasource. I tried to use the listboundreport example but it is not working in my instance. (Example site works fine)
I have a function that I am using as a dataset and the .vb file looks like this:
| Imports System.ComponentModel |
| Imports System.Drawing |
| Imports Telerik.Reporting |
| Imports Telerik.Reporting.Drawing |
| Imports SMSDAL |
| Imports System.Data.SqlClient |
| Public Class PricingReport |
| Inherits Report |
| Private objdo As New SMSDAL.DataObject |
| Public Sub New() |
| InitializeComponent() |
| Me.DataSource = GetMyData() |
| End Sub |
| Public Function GetMyData() As DataSet |
| Dim mysql As String |
| mysql = "Select * from users" |
| Return objdo.daGetDataSet(mysql) |
| End Function |
| End Class |
I added a textbox to the report and set the value to "=User_Name" which is a valid field returned by the dataset.
I get an error of "Missing Opertator before _name operator"
Any suggestions?
-Joel