Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

convert Html to asp

Status
Not open for further replies.

Joelo

MIS
Sep 27, 2003
61
0
0
Please anybody help me out in converting the following Html code to asp

<td class="cssfont" width="215"><% x_MONTHYEAR = MonthName(Month(Now)) &- Year(Now) 'set default value %><input type="text" readonly name="x_MONTHYEAR" value="<%= x_MONTHYEAR %>" size=30 maxlength=50></font>&nbsp;</td>
</tr>
 
Is this what you mean?
Code:
<%
x_MONTHYEAR = MonthName(Month(Now)) & "-" & Year(Now) 'set default value

Response.Write "<td class='cssfont' width='215'>" & x_MONTHYEAR & "<input type='text' readonly name='x_MONTHYEAR'  value='" & x_MONTHYEAR & "' size='30' maxlength='50'></font>&nbsp;</td></tr>"
%>

Tony
reddot.gif WIDTH=500 HEIGHT=2 VSPACE=3

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top