To my knowledge you can create a command line app (runs in a dosbox on XP, 2K) as your project type.
You can try sqlite, which compiles well under pelles C.
Or you can go to the full SQL database postgresql. I've made a kind of DLL for accessing the postgresql database from any c compiler and it works just fine.