I am evaluating the reporting functionality and I really need some help on binding a custom dll.
This is what I have done so far.
1) Created a .net dll with the following code. The dll is in the same folder as the trdx file
namespace ClassLibrary1
{
[System.ComponentModel.DataObject()]
public class Person
{
public string Name { get; set; }
}
}
I added the data source to the trdx file as follows
<DataSources>
<ObjectDataSource Name="ClassLibrary1" />
</DataSources>
When I open the project in the Data Explorer I only ClassLibrary1. I expected to see the object Person and under that the Name property. I opened the Configure Object Data Source window but both tabs are blank.
I have spent hours reading the forum and the pdf tutorial and just cannot figure this out. I must be missing some simple point on this. Any help would be appreciated.
Better yet does anyone has a simple example they would like to share?
BTW:
I also tried making a dll with a DataSet with some tables using the designer in visual studio but no luck with this either.