[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: GTK&MySql step by step
From:       Rodrigo Moya <rodrigo () gnome-db ! org>
Date:       2001-09-28 16:05:01
[Download RAW message or body]

On Thu, 2001-09-27 at 17:57, youssa@voila.fr wrote:
> Hello every one,
> Please can some one help me to have a connecxtion to a MySql data base and show me \
> how to select some items to put the in a DbGrid in my GTK window. Please, I 'm \
> newbie so help me step by step, what I must to do Thank you very much
> 
you can use gnome-db (http://www.gnome-db.org), which will be similar
to:

GdaConnection *cnc;
GdaRecordset *recset;
GtkWidget *dbgrid;

recset = gda_connection_execute (cnc, "SELECT * FROM table");
dbgrid = gnome_db_grid_new (recset);

cheers
-- 
Rodrigo Moya <rodrigo@gnome-db.org> - <rodrigo@ximian.com>
http://www.gnome-db.org/ - http://www.ximian.com/

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic