Encryption: Aspnet_regiis-pef appSettings "G:\FlyMusicNew\Web"
Decryption: Aspnet_regiis-pdf appSettings "G:\FlyMusicNew\Web"
<%# Eval ()%>//one-way binding, the operations database returns an object type<%# Function (Eval ("pic"))%>//The function method is used to deal with the data after the pic is bound<%# bind ()%>//two-way binding, manipulating the database<%= UserName%>//output The value of the username field<%: my<user>%>//: As with the function of =, more than one encoding function, prevent XSS cross-station<%$ connectionstrings:applicationservices%>//get the configuration node inside the Web. config<%sayhello (); %>//Call the SayHello () method<%response.write ("Test! "); %>//Direct Output Test<%=quote ("Xgao")%>//outputs a value that is obtained by a method with parameters<%if(UserName = = "Gao")//Make if judgment{UserName = "cool";}%><%# Container.DataItem%>//Current Data item<%# Container.itemindex%>//Current Data index (suitable for self-increment ordinal itemindex+1)
% indicates server-side run
# indicates data binding
= Property Output
$ get web. config configuration
Webconfig Encryption and decryption