I want to select my price level in database to compare with the an integer number. But It is error : Operator \'==\' cannot be applied to operands of type \'System.Linq.IQue
replace:
if (list_pricelevel == 3)
with:
if (list_pricelevel.First() == 3)
as you can see here: http://msdn.microsoft.com/en-us/library/bb291976.aspx, if you are sure there is a result or use FirstOrDefault...
FirstOrDefault