[Gtk-sharp-list] get and put data in controls

Jorge De Gante jdegante@linuxware.com.mx
03 Mar 2003 13:26:37 -0600


Hi everyone


I got two questions:

1. This is the optimal way to put data from a table in a treeview?


GLib.Value id_almacen = new
GLib.Value(Convert.ToString(reader["id_almacen"]));

or there is a better method to do it?



2. How can I sanitize the data in a control, Gtk.Entry for example,
before put that data in a query string that makes an INSERT or an UPDATE
to a database?

-- 
Jorge De Gante Tellez
jdegante@linuxware.com.mx
LinuxWare S.A. de C.V.
http://www.linuxware.com.mx
Tel. 26-03-15-15 26-03-15-16 26-03-15-17 
Fax 26-03-15-18