I will wait for a long time waiting for my girlfriend to wait for a long time, I want to read the book and have a mobile game; GPRS Internet, a lot of content is required, and only the poor download ring, pictures, seems to have new New, no strength! It is best to use a mobile phone to see the novel. It seems that there is no free WAP novel. The little sister of the office is also bored. Old want to buy a PDA to see novels, and convenient, it is convenient, it seems to be DIY. It is said that Java is a weapon for developing WAP. However, WAP needs this "code" to "code", there are many Dongdong needs learning, I am the most lazy person! Forget it, see if you can use C # to make a WAP snack. It is very simple to think, WAP is using UTF8 coding, as if there is any WML, WML is checked online, it is similar to XML, usually very much in XML, WML is simple, C # You can set the code of Response, it seems to have a play, write a "Hello Sister" first, // Setting the contenttype type / / Otherwise, the phone can not recognize response.conteType = "text / vnd.wap.wml"; // Set the encoded response.contentencoding = system.text.Encoding.utf8; // The following is the content part written by the WML protocol = " Hello sister p> / R / N "; wapcontent =" card> / r / n "; wapcontent =" / r / n "; WAPContent =" wml> / r / n "; wapcontent =" / r / n "; Response .Write (wapcontent); Try it with your mobile phone, ok is now written in the WAP program of the novel. First from the next novel, there is a directory, 1.txt is too big, you must have a directory, press 2k page, good guys, there is 200 pages, forget it, come to a direct selected page Go bar: wapcontent = ""; Wapcontent = " new System.IO.FileInfo (Request.PhysicalPath); System.IO.StreamReader oReaderD = new System.IO.StreamReader (oFM.DirectoryName "//" "1.txt", System.Text.Encoding.Default); / / Read 3000 words each time MC = oreaderd.readToend (); oread.close (); wapcontent = " directory p> / r / n"; wapcontent = " total:" k.toString () page p> / r / n "; wapcontent =" "; Wapcontent = " WapContent = " WML> / R / N"; WAPContent = "/ r / n"; response.write (wapcontent); return;} else n = system.convert.toint32 (Request ["Page"]); WAPContent = " xml version = /" 1.0 / "?> / r / n"; wapcontent = " / r / n "; wapcontent = n.toString () " p "; wapcontent = mc; WAPContent = " p> / r / n"; wapcontent = " } Pick up the phone, www.tjkx.com / wap.aspx, try, cool! ! ! Turn too much with your mobile phone, download a WinWap Pro3.1 to debug it here. The tool is ready, C # is really good, write a small program is simple