Here we will talk about three important special symbols in Asp.net.
(1) <% @ %> This is used to reference the user control and import the namespace. It is usually placed at the top of the page.
(2) <% # %> This is displayed only after data is bound. It is used for data binding controls.
(The other three data binding methods are usually used together with <% # %>;
1. the eval () method is a static one-way (read-only) method. Therefore, the eval function is used for one-way (read-only) binding. This method uses the value of the data field as a parameter and returns it as a string.
2. The BIND () method supports the read/write function. Therefore, the BIND function is used for Bidirectional (updatable) binding. This method retrieves the value of the data-bound control and submits any changes to the database.
3. The XPath () method supports XML data sources .)
(3) <% = %> it can be displayed without data binding. Like <% # %>, you can call the C # method.