Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to dynamically build a persistent class from a DataSet and then bind it to the GridControl

$
0
0

This example is a variation of How to generate persistent classes at runtime based on a dataset with the difference that here we create a custom XPClassInfo class that provides metadata information for a type.
Then, we will use it to bind the GridControl to the XPServerCollectionSource, that is necessary to work in the Server Mode.

Question Comments

Added By: bbirbo at: 4/11/2016 8:21:06 AM    Is there any chance to modify this code so it runs with any sql statement like JOINS etc ?Added By: Andrew L (DevExpress Support) at: 4/12/2016 3:03:33 AM    

Hello,

I've created a separate ticket on your behalf (T366772: It is possible to use the approach described in E1729 so it runs with any sql statement like JOINS). It has been placed in our processing queue and will be answered shortly.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>