Re: Connecting GTK application to a database
- From: Basile Starynkevitch <basile starynkevitch net>
- To: sruti <srutis90 gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Connecting GTK application to a database
- Date: Tue, 23 Feb 2010 21:52:29 +0100
sruti wrote:
Hi,
Can somebody help me with connecting a gtk interface with a backend
database, say, Posgres? How does one embed SQL queries in the C code.?
I would believe that you handle this issue as in any C program. GTK is
not relevant (except that you probably don't want to issue SQL queries
from several threads).
So, first learn to embed SQL inside a plain (command line) simple program.
There might be perhaps libraries related to GTK to help about that. I
don't know them.
Regards.
--
Basile Starynkevitch http://starynkevitch.net/Basile/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]