出现错误:在上下文中指定的非布尔类型的表达式,在该上下文中需要从下面的语法中获取条件。
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() + "'";