Posted on: 5/11/2014 12:01:24 PM | Views : 428

I am in the process of creating a user profile for my web page and i want a label to tell the user if he have an activesubscrption or not I have a usertable with a column Activesubscription, which is either false or true   i tried this 
string ActiveSubscription = "SELECT ActiveSubscription from CustomerInfo";
if(ActiveSubscription="true"){ Sub.Text="Subscription Active"; } else{ Sub.Text="Subscription not Active"; }
but on the label it just shows not active whether it is true or false 
any idea how i do this?

Go to the complete details ...