<% string lcRepeat = Request.QueryString["Repeat"]; if (lcRepeat == null) lcRepeat = "1"; this.Repeat = Int32.Parse(lcRepeat); %>

Desktop Scripting Sample


Method RepeatText() Result:
<%= this.RepeatText("Testing",this.Repeat) %>
Local Path: <%= Request.ServerVariables["APPL_PHYSICAL_PATH"] %>
Script Name: <%= Request.ServerVariables["SCRIPT_NAME"] %>
Time is: <%= System.DateTime.Now.ToString() %>