Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/11/2006, 13:29
Avatar de jhonwilliams
jhonwilliams
 
Fecha de Ingreso: marzo-2004
Ubicación: Copacabana - Colombia
Mensajes: 1.484
Antigüedad: 20 años, 2 meses
Puntos: 76
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
__________________
Si mi respuesta te ha ayudado, agradezco que me regales unos puntos de Karma XD.

"Una mujer sería encantadora si uno pudiera caer en sus brazos sin caer en sus manos." (Ambrose Bierce)