Mvc
文章平均质量分 76
专注开发
我编程,我骄傲
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
MVC复选框选中方法
1、Model类 public class News { public int ID { get; set; } public string Name { get; set; } } 2、Controller返回数据 private List GetALL() { List li原创 2016-07-19 09:36:05 · 5446 阅读 · 0 评论 -
多查询条件的MVC分页
1、查询 @using (Ajax.BeginForm("方法", "控制器", new RouteValueDictionary { { "id", "" } }, new AjaxOptions() { HttpMethod = "Get",原创 2016-07-19 09:41:30 · 1788 阅读 · 0 评论 -
获取客户端Mac地址
/// /// 返回IP地址的MAC地址 /// /// /// /// /// /// [DllImport("Iphlpapi.dll")] private static extern int SendARP(Int32 dest, In原创 2016-09-05 14:44:09 · 463 阅读 · 0 评论 -
MVC路由Route
控制器方法: public ActionResult Index(string controller, string action, int id) { ViewBag.Name1 = controller; ViewBag.Name2 = action; ViewBag.Name3 = id原创 2017-09-13 10:39:08 · 462 阅读 · 0 评论
分享