Hi,
I would like to try the fantastic Reporting Control in a winform application.
Unfortunately I got an error on the first line of my application... Look at the code below.
The error is
Exception has been thrown by the target of an invocation
The type initializer of 'MyObj.OrdersData' threw an exception
In fact the OrdersData could not find (I think) the connection string in my app.config
What could I do ?
I would like to try the fantastic Reporting Control in a winform application.
Unfortunately I got an error on the first line of my application... Look at the code below.
The error is
Exception has been thrown by the target of an invocation
The type initializer of 'MyObj.OrdersData' threw an exception
In fact the OrdersData could not find (I think) the connection string in my app.config
What could I do ?
Partial
Public Class Report1
Inherits Telerik.Reporting.Report
Public Sub New()
InitializeComponent()
Dim Orders As MyObj.OrdersCollection = MyObj.OrdersFacade.GetAll
' me.datasource = Orders
End Sub
Public Sub main()
End Sub
End Class