How to set a variable, typeofauction, as either 'a' or 'f' with an if then statement. dim typeofauction as char. I'm trying as following
typeofauction = typeofauction1.Text
If (typeofauction = "Auction") Then
listingtype = 'a'
If (typeofauction = "Fixed Price") Then
listingtype = 'f'
What wrong with above line of code.
Thanks in advance.