Talvez esto te pueda ayudar:
You create a user control named Address that is defined in a file named Address.ascx. Address
displays address fields in an HTML table.
Some container pages might contain more than one instance of the Address user control. For
example, a page might contain a shipping address and a billing address. You add a public
property named TKCaption to the Address user control. The caption property will be used to
distinguish the different instances.
You want the caption to be displayed in the first <td> element of the table of address fields.
You need to add code to the <td> element of the table to display the caption.
Which code should you use?
A. <td><%=TKCaption%></td>
B. <td><script runat=”server”>TKCaption</script></td>
C. <td><script>document.write(“TKCaption”);</scripts></td>
D. <td>=TKCaption</td>
Answer: A
Explanation: TKCaption is a public property contained on the Web server. We reference it with the
<%=TKCaption%> element
Incorrect Answers
B, C: Scrips are not called for. We just want to display a property.
D: To access the public property we must use an <% %> element.
Saludos