null value when inserting/updating from EditItemTemplate field

X

xazos79

Hi All,

I currenly have a GridView control i'm using to update values in a
database. The directly bound fields update fine. However, there are a
couple of places where i use EditItemTemplate fields instead of a
direct databind. Reason being that i have dropdown lists there instead
to aid readability when updating/adding a record. The dropdownlists
contain the appropriate values, however when I insert or update i get a
null value exception. The insert/update action is not picking up the
values from the dropdown lists.

If anyone can help me with this i'd be grateful!

Thanks,

Sam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,142
Latest member
arinsharma
Top