I have 2 sql tables
items with the desgin:
minBuy (int number)
purchase with the desgin:
id
At items i have column "minBuy" - as long as purchase id not >= to minBuy, i want to show img that display "X". when it's >= i want to display img that shown "V". i'm using sql with c#.
i have the two img's .... v.png and x.png.
how can i do that at c# with
if(purchaseid >= minBuy)
v.visble = true;
i heard somthing about to do fetch, what is it and how that can help me here?