You're lblVehicleNr label is only available inside the ItemTemplate, not in the EditItemTemplate. If you run the debugger and step through your code you'll most likely find that the ValueToSelect variable is not getting set to a value. So then you're attempting to set the selected value to an empty string, which doesn't exist.
DrMAF commented: what does myInterface contain?? what is the implementation of ClassOne, for example?? +0
nakor77 21 Junior Poster in Training
nakor77 21 Junior Poster in Training
nakor77 21 Junior Poster in Training
JorgeM commented: good response +6
nakor77 21 Junior Poster in Training
nakor77 21 Junior Poster in Training
nakor77 21 Junior Poster in Training
nakor77 21 Junior Poster in Training