how to access a database for DataSource with Visual Designer

We are trying to figure out if instead of just using an XML document for the DataSource of a grid in the designer we can instead use a database? This seemed like the one of the main reasons for using this Visual Designer software. If this can’t be done, then how do most people use the DataSource for development? (example)



You can’t connect to database directly ( final code which designer will generate is an html page, which can’t access database diretly ), instead of that you can create connector script, and use it for data loading.

Existing connector lib allows to use php, java, .net for it.
( Basically it will be a small script which will read data from db and output in the necessary xml format ) … x.shtml?mn