I am extremely new to ASP.net and I am trying to get my gridview to update my Postgresql database. I've tried just about everything i've read on this forum, that i could find, with no success. I've seen examples programatically as well as just using the updatecommand, which really confuses me. Can anyone please help or guide me in the right direction? I am using VB I have a connection string and I can get the table in my database to view in the gridview, but nothing but errors when i try and update.
Below are my attempts with the updatecommand.
updatecommand="Update web.dept_aitem set d_asup = @d_asup where d_serial = @d_serial"
updatecommand="Update web.dept_aitem set d_asup = :d_asup where d_serial = :d_serial"
I don't really know what the "@" or the ":" are intended to do, but i saw them in other examples so I tried them with no success.
Any help is much appreciated.
Below are my attempts with the updatecommand.
updatecommand="Update web.dept_aitem set d_asup = @d_asup where d_serial = @d_serial"
updatecommand="Update web.dept_aitem set d_asup = :d_asup where d_serial = :d_serial"
I don't really know what the "@" or the ":" are intended to do, but i saw them in other examples so I tried them with no success.
Any help is much appreciated.