我正在尝试使用 if then 语句将变量 typeofauction 设置为“a”或“f”。dim typeofauction as char
typeofauction = typeofauction1.Text
If (typeofauction = "Auction") Then
listingtype = 'a'
End If
If (typeofauction = "Fixed Price") Then
listingtype = 'f'
End If
我究竟做错了什么?