0.5 Reference: http://www.cnblogs.com/Leeyong/archive/2010/10/19/1855526.html
http://www.cnblogs.com/Leeyong/archive/2010/10/29/1864358.html
1. Call a different controller, the controller in the method, but the default URL URL to rely on / Controller / ActionName / Parameters is controller / method / parameter
http://localhost:5653/HelloWorld/Index
2. Server.HTMLEncode usage! !
Server.HTMLEncode HTMLEncode .HTMLEncode a specified string application method HTML coding. grammar Server.HTMLEncode( string ) parameter
Examples script <%= Server.HTMLEncode("The paragraph tag: <P>") %> Export The paragraph tag: <P> Note that the above output will be displayed as a Web browser The paragraph tag: <P> If you look at the source file in text mode or open a Web page, you'll see the coded HTML |
Because creating a table when the primary key is not set. . . . . . See also: http://www.developer2blog.com/post/2012/05/10/Unable-to-update-the-EntitySet-because-it-has-a-DefiningQuery-and-no-element-exists-in- the-element-to-support- the-current-operation.aspx
Reproduced in: https: //www.cnblogs.com/gorgeous1314/archive/2012/07/18/2597236.html