: 在select中不加 runat="server" 的情况下;
string val = "";
foreach (string elem in Request.Form.AllKeys)
{
if (elem.Contains("Select1"))
{
val = Request[elem];
break;
}
}
: 在select中不加 runat="server" 的情况下;
string val = "";
foreach (string elem in Request.Form.AllKeys)
{
if (elem.Contains("Select1"))
{
val = Request[elem];
break;
}
}