I am using a Telerik's Grid that unveils its potential if it's bout to a declarative data source. However I do not have a need to create a database table but just would like to use standard DataTable as my data storage.
The component item I want to use does require DataSource for binding. (GridDropDownColumn in Telerik RadGrid).
Is there a way to make a Data Source (suitable for decralative binding to components) that uses a simple DataTable as storage?
Yes there is.
Simply use an ObjectDataSource. In its selectMethod, point it to a method in your codebehind (or any where else) that returns your DataTable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With