Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How did ASP.NET get his ID card?
How did ASP.NET get his ID card?
In the loading event of the EditMessage.aspx page, that is, in the PAGE_LOAD event, write the following code to obtain:

String str = request. query string[" leave id "]; That's it.

If you want plastic surgery, here's the thing.

int num=Convert。 ToInt32 (request. query string[" leave id "]); //Remarks: If it is plastic surgery, the type of the leaveid you bind must be a number, so that it can be converted, otherwise an error will be reported.