I have just written it. Added slowly later.
1. How to determine the content of a string as a number? The best answer is to use the regular expression to judge String Str; INT i; if (Str! = Null && regex.ismatch (Str, @ "^ / d $")) i = INT.PARSE (STR);
2. How to use the WebService transfer file? There are two ways to use byte [] to pass, one is to pass the front of the WSE attachment: [WebMethod] public byte [] getFileData (String RequestFileName) {// Here you open a file, Byte []} [WebMethod] public void setfiledata (byte [] data) {// here to generate required files}
In the ASP.NET program, how do you know if the user has a 1.0 version of the .NET framework? 1. Use the request.browser.clrversion property to return only the highest version installed. 2. Use the request.browser.getClrversions () method to do.