2
獲取錯誤:在下面的語法中預期條件的上下文中指定的非布爾類型的表達式。錯誤:在預期條件的上下文中指定的非布爾類型的表達式
string Query = "SELECT User.First, User.Last,
Details.Address1, Details.Address2,
Details.County, Details.Country
FROM User
INNER JOIN Details
on User.Details_DetailsID
WHERE User.Last ='" + cbUsers.SelectedItem.ToString() + "'";