display the selected dropdown
<p>I am retrieving the credit card type from Database and have to show what credit card type the merchant have used, in the dropdowm. The dropdown has 4 types like Master, Visa, American Express and Discover along with select. </p>

<p>I retrieve it well, but I am not sure how to bind it such that it has all the 4 types along with select but should show the creditcard that has been used.</p>

<pre><code>if (cardtype == 1)
{                              
    ddCreditCardType.SelectedValue = ((int)CommonHelper.CCType.Master).ToString();                                
}

((int)CommonHelper.CCType.Master).ToString(); 
//This part gets the type of card used but does not put in the ddCreditCardType. 
</code></pre>

<p>Please help me out! Thank you!</p>
