For the sake of data binding , I am trying to convert a data table into a typed list.
Basically, here is my code:
dataSource.TypedList = MyClientEntity.FetchAllClientsList
dataSource is a LLBLGenProDataSource2
FetchAllClientsList returns a data table. The data table that is built is built using ResultSetFields and the Adapter.FetchTypedList() method.
In any case, I am overriding the perform select event in my UI and I am trying to set the DataSource.TypedList property == the result of my FetchAllClientsList method.
So, long story short, is there a way to cast a data table as a TypedList for the sake of data binding with the LLBLGenProDataSource2 control?
Thanks