比如我现在是在首页的Index.aspx,当我点击链接 actionlink("类型", "index", "type");请求转到 typecontrolles里的indexaction下进行运行没有问题,但是当我传递数值时,链接就错误了,如下:
actionlink("类型", "index", "type", new {id = model.idtype}),目的是为了转到typecontrolles里的indexaction下进行运行并显示和ID相同的类型的信息,不用全部,为什么链接会无效,望高手赐教谢谢