1、传统方式,使用Request对象
2、使用方法参数获取,方法参数名与表单控件name名一样,不区分大小写;
3、Model Binder
4、混合
访问示例:http://localhost:2325/Test?id=11&name=dafsdfa&reurl=asp.aspx或者http://localhost:2325/Test/?id=11&name=dafsdfa&reurl=asp.aspx
1、传统方式,使用Request对象
2、使用方法参数获取,方法参数名与表单控件name名一样,不区分大小写;
3、Model Binder
4、混合
访问示例:http://localhost:2325/Test?id=11&name=dafsdfa&reurl=asp.aspx或者http://localhost:2325/Test/?id=11&name=dafsdfa&reurl=asp.aspx