About <% # and <% = understanding.

xiaoxiao2021-03-05  29

About <% # and <% = understanding. Simple control, non-list control (not to bind DataSet and other complex data structures), only <% = If you use a function in such controls, you only use <% = in line, if no output value, % DOG ();%> This is used.

If you need to bind a complex data structure, because of the problem of binding time calculation, you must use <% #, if you use the function in such controls, if the function involves the field problem in the function, I can only use <% #

Drag with the user control, if the list control is used in the user control, the properties of the user control must be paid with <% #, and the background is dATABIND (); otherwise the list is not possible.

转载请注明原文地址:https://www.9cbs.com/read-34078.html

New Post(0)