在Html.ActionLink中运用二维判断语句
HTML 语句 判断 运用 二维
2023-09-11 14:19:21 时间
@Html.ActionLink("公告信息", "notice", "article", null, new { @class = ViewData["getclass"]!="notice"?"":"currclass" })
@Html.ActionLink("历史查询", "index", "home", new { hd = DateTime.Today.ToString("yyyy-MM-dd") }, new { @class = ViewData["getclass"] == "order" && Request["hd"] != null ? "currclass" : "" })
相关文章
- windowsclient开发--duilib显示html
- MVC Html.AntiForgeryToken() 防止CSRF攻击
- Word控件Spire.Doc 转换教程(十四):使如何在 C#、VB.NET 中将 HTML 转换为 XML
- PHP去除HTML标签,统计字数
- 温故而知新 css + html 超级牛逼的居中策略
- HTML-Html开发之Viewport的使用
- 《jQuery Cookbook中文版》——第1章 jQuery基础1.1 在HTML页面中包含jQuery程序库代码
- 有趣的HTML实例(十二) 早安、晚安动画(css+js)
- 有趣的HTML实例(三) 加载页面动画
- 微信小程序 rich-text使用正则去除html中img标签中的css样式
- html div 加边框样式
- 【web前端(二十一)】html_盒子的显示和隐藏
- 【web前端(二十)】html_z-index(叠放)
- [WinForm] 使用 WebBrowser 操作 HTML 頁面的 Element-摘自网络