[Mono-list] Treeview, Mysql and databounding
Lorenzo Viola
info at eulogika.net
Mon Jul 23 04:34:44 EDT 2007
Hello
I'm checking for the simplest way to databind a treeview to a
hierchical ordered table that I create on a mysql server
(the system is a debian+mysql+mono/asp.net)
I see that I can fill a treeview from a XmlDatasource like this:
<asp:XmlDataSource ID="xmlData" runat="server"
DataFile="parameters_application.xml"></asp:XmlDataSource>
<asp:TreeView ID="tvwSample" Runat="server" DataSourceId="xmlData"
....etc.etc.
I'd like to do the same from a dataset filled from Mysql database...
(On Microsoft system, there is "<asp:SqlDatasource" )
I see that there is a ObjectDatasource class, but I feel that there
should be a simpler
way, instead of creating all the enumeration system...
Or anyway a better way than creating every time a temporary xml file ....
Thank you and Best Regards
More information about the Mono-list
mailing list