I am trying to insert data into a table using a formview and listview. i have a formview with just a dropdownlist and an insert button. i have a listview that displays 50 products at a time each with a checkbox next to it.
what i want to do is select an item from the formview dropdownlist, and check one, or multiple products from the listview and insert the values into a table.
Table example after making your selections and inserting:
formview DDL1 value2, listview value1
formview DDL1 value2, listview value25
formview DDL1 value2, listview value38
I get the error: object reference not set to instance of an object. I know what the error is but i dont know how to fix my code. It's blowing up at the insert section of my code.