Judgment ID is not empty, how to do? If (Request.Params ["ID"]! = Null)

xiaoxiao2021-03-06  103

Int ID;

Try {

ID = int.parse (Request.QueryString ["ID"];

}

Catch {

ID = 1;

}

转载请注明原文地址:https://www.9cbs.com/read-126905.html

New Post(0)