[Mono-list] Treeview, Mysql and databounding

Lorenzo Viola info at eulogika.net
Mon Sep 3 05:48:18 EDT 2007


To reply to my question, as it could be useful to some else, I found
this one to work
on mono also :

http://aspalliance.com/822




Lorenzo Viola ha scritto:
> 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
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>   




More information about the Mono-list mailing list