First of all, I am a Classic ASP coder trying to learn .Net.
I am using this book as a guide to create a similar website and am currently looking at Hand Coding AddEdit in Chapter 15. If, instead of an INT type for GenreID, I use a CHAR(1) type, how do I change this code:
Code:
Dim myItem As ListItem
GenreList.Items.FindByValue(review.GenreID.ToString())
If myItem IsNot Nothing Then
myItem.Selected = True
End If
Thank you all.