public enum enmode
{
fee , scheduledpayment , adjustment , new1 , del , cancel , freeze
}
Propery convering string from Request["mode"] into enum:
public enmode Mode
{
get { return (enmode) Enum.Parse(typeof (enmode), Request["m"].ToLower()); }
}
more...
No comments:
Post a Comment