Re: PostgreSQL and VB.NET
Hi Vladamir,
I am an absolute beginner when it comes to programming and I usually worked with sql and access. Now my boss wants me to write a programm and run the data with postgresql. Well, I don't wanna bore you with details I have my postgre-db and I can actually connect to it. I can get my tables into a dataset and connect the datagridview to the dataset/datatable. Now, I have the problem that I don't get it to update/insert/delete. Originally I wrote it for Access and even tested it on a Firebird. Everything was working fine. But then I had to switch to Postgresql ... I use Nqgsql like you. Do you have any tips? Thanks for your time.
Re: PostgreSQL and VB.NET
Are you sure you're connecting correctly with the correct password, etc... PostgreSQL uses standard SQL syntax so what works with Access should work with pgsql. I know it's a pain but debugging is usually 50% of any code project. So get out those log files and see what may be happening behind the scenes. PostgreSQL has some good resources at their website. Check that out as well.
Re: PostgreSQL and VB.NET
Thank you for your quick reply. Yes, it is connecting alright. I can open my application which I couldn't without the db-connection and get all of my tables into datagridviews. It just won't take my updates and it absolutely refuses to write it back into the db. I will see what I can find at the PostgreSQL website. Thanks again for your tips