是否有可下载并执行exe文件的脚本(vbs,js,bat等)?
感谢。
答案 0 :(得分:1)
int defaultGroupId = 1;
int groupId = defaultGroupId;
if (Request.Cookies["selectBoxValue"] != null) {
var parsed = Int.TryParse(Request.Cookies["selectBoxValue"].Value, out groupId);
if (!parsed) {
// the incoming cookie value wasn't an integer or couldn't be parsed to integer. In this case do you want to set it to an appropriate value (say whatever comes out of your query?
}
//At this point you either have a valid `groupId` or you have your `defaultGroupId` so you can use `groupId` normally.
下载并运行Microsoft安全扫描程序(适用于Vista 32位)。