Displaying database

HI, I’m new to Gtk and need to know how I can display a table from query
a database. I am using Glade to build the GUI.
Any information is welcome

Thanks!!

So this really isn’t a Gtk question too much, unless your asking how to
display them. As for getting the data out of the DB/

What type of database? I use the oci8 gem for Oracle DBs.
http://rubygems.org/gems/ruby-oci8

It very simple to use. Just use that to grab the data you are looking
for and then display it in your GUI however you want.

Hi Mathid:

Typically rubyists use ActiveRecord to use databases. I would urge you
to look at this video that shows a really easy way to display records
from any database in a listbox:

http://visualruby.net/site/ActiveRecord%20Tutorial.html

Yours,
Eric