using System.Web.Mvc;

namespace System.Web.Mvc
{
    public static class HtmlExtend
    {
        public static string IsDelete(this HtmlHelper helper, int? txt)
        {
            switch (txt)
            {
                case 0: { return "可用"; }
                case 1: { return "不可用"; }
                default:
                    return "未知";
            }
        }
    }
}

相关文章:

  • 2022-12-23
  • 2022-02-02
  • 2021-08-01
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-29
猜你喜欢
  • 2021-08-07
  • 2022-02-16
  • 2022-03-04
  • 2021-05-18
  • 2021-12-16
  • 2021-07-15
  • 2022-12-23
相关资源
相似解决方案