Try Subsonic.Sugar .. then you could do somethign like this
protected void ValidateCardServerValidate(object source, ServerValidateEventArgs args)
{
bool cardValidate;
string item = ddlCardType.SelectedItem.Text.ToUpper();
if (item == "MASTERCARD")
cardValidate = SubSonic.Sugar.Validation.IsCreditCardMasterCard(args.Value);
else if (item == "VISA")
cardValidate = SubSonic.Sugar.Validation.IsCreditCardVisa(args.Value);
else if (item == "ACME")
cardValidate = SubSonic.Sugar.Validation.IsCreditCardDinersClub(args.Value);
else if (item == "DINERS")
cardValidate = SubSonic.Sugar.Validation.IsCreditCardAmericanExpress(args.Value);
else
cardValidate = SubSonic.Sugar.Validation.IsCreditCardAny(args.Value);
args.IsValid = cardValidate;
}