I have a drop down list in my datagrid that gets loaded when the edit button in the editcommandcolumn is clicked. The datasource property of the drop down is set to call a function to load this drop down. However, I also have the selectedindex attribute calling a different function that gets the correct index of the drop down list for whatever value is in that column of the datagrid. The problem is, this only works if there is a value in that column of the datagrid. If there isn't, I get a DBNull error message. I need to be able to click on a row that doesn't have a value so that I can pick one to update it with. Thanks for any help in advance.