0 Replies - 10250 Views - Last Post: 07 June 2012 - 08:32 PM

InsertParameters filling wrong fields in database

Posted 07 June 2012 - 08:32 PM

Hi guys, it's been quite a while since I posted on these forums..

I'm doing a course in web development and having a bit of trouble with the asp.net side of things. I am making a simple shopping cart for an assignment that takes data from a form and adds it as a record in an access database table.

My problem is that it seems to be skipping the first field and adding data starting from the second which is obviously causing all the data to fill the wrong fields, I have no idea why.

I know this is incredibly basic stuff but I've only been learning asp/vb.net for a few months, and this is the first time I've tried manipulating a database with it. It doesn't help that we're learning this stuff in design view of visual studio (hard to debug when stuff like this happens), I've voiced my concerns about that but he seems adamant that this is the best way.

I would ask my teacher but I don't have class with him for another 5 days, and I've been asking him a lot of stuff lately.. I don't want to detract too much from his time with other students.

If someone could point me in the right direction here that would be great. :-)