I have looked at the post on http://www.dotnetcurry.com/ShowArticle.aspx?ID=221 and got this to work somewhat. I have 2 fields just like the example. One is Location and the other is Lab. I can have multiple locations, and within the locations, multiple labs for each location. So when I select a Location, I want to show all labs for that location. This part works. But when I click Update, I the Lab value is not getting written back to the database. I suspect it is because I dont have a SelectedValue='<%# BIND' but when I add one, I get an error. Also, in the example post above, he does not have one either.
The code for the Lab field is below. What am I doing wrong. This cant be that difficult.
<asp:TemplateField HeaderText="Lab" SortExpression ...
Go to the complete details ...