form提交以后 是通过name来取值的
有重复name的话 以什么原则处理?
发现一个好为题,未解决,待续。。。。。。
有重复name的话 以什么原则处理?
1
2
|
<
input
id
=
"input1"
type
=
"text"
name
=
"UserName"
/>
<
input
id
=
"input2"
type
=
"text"
name
=
"UserName"
/>
|
1
|
string
username = Request.Form[
"UserName"
];
|