Third day

xiaoxiao2021-03-06  37

Talk about the usage of user controls: Simply put, the easiest way to get a user control is to change an ASPX file suffix to ASCX and turn <% @ page ...%> Page to the Control Directive. Specific For example: <% @ control language = "c #"%> // Note here <% @ Import namespace = "system.data"%> <% @ import namespace = "system.data.sqlclient"%>