Thanks,
Very interesting idea, I have quite a little experience in overloading
and sub-classing using C# I try to use object in the framework unless
there is no good way to do it using the base framework. Do you think you
could share a usage example so I can get a better of what you have in
mind. I think I know where your headed but I'm not quite sure.
The more I think about it the more I like your idea, once you bridge the
gap between TreeStore and DataTable managing the database and sql will
fall right into place.
Still I would be interested to hear what other ideas are out there while
I'm playing with your class, errr working with your class.
Thanks
Andy
Christian Hoff wrote:
Why don't you write a custom TreeModel? I have written one for
DataTables and am testing another one for DataViews(attached, to display
data tables pass the default view of the table: table.DefaultView).
Forget about storing data at two locations in the memory, this will only
cause trouble and performance issues :-)
A good tutorial is available at
http://www.mono-project.com/ImplementingGInterfaces. Hoewever,
GInterface implementation was introduced in Gtk# 2.12 so you might need
to update your installation.
So the question is... in your opinion what is the best way to save
the values from a TreeStore in a database and retrieve them again
through SQL and maintain the intended parent/child relationship.
This maybe simple and I just missed it.
Thanks for your help
Andy
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
------------------------------------------------------------------------
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list