Re: Connecting GTK application to a database



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]