Array Textbox (Urgent! Pls Help)

Results 1 to 2 of 2

Thread: Array Textbox (Urgent! Pls Help)

  1. #1
    Join Date
    Dec 1969

    Default Array Textbox (Urgent! Pls Help)

    Array Textbox.<BR><BR>Hi! I would like to pass one or multiple values from PageA to PageB.<BR><BR><BR>Eg:-<BR>PageA <BR>&#060;asp:textbox id="TextBox1" runat="server"&#062;/Cindy/ Tracy/ June&#060;/asp:textbox&#062;<BR><BR>Then I passed the TextBox1.Text to PageB :<BR><BR>&#039;There&#039;s only 1 Label in PageB named Lebel1.Text.<BR><BR>If TextBox1 contain (Cindy Tracy June) Then<BR><BR>Label1.Text = "Cindy"<BR>Label1.Text = "Tracy"<BR>Label1.Text = "June"<BR>.<BR>.<BR>.<BR><BR>&#039;**** ONLY Use 1 Label but it will repeat the display value.<BR>Else<BR>Label1.Text = "Cindy" &#039;*** When TextBox1 contain (Cindy) only<BR><BR>End If<BR><BR><BR>How to code the Label in Page B so it can be reused for 1 more more values?<BR>Thank you so much.<BR><BR>Rgds,

  2. #2
    Join Date
    Dec 1969

    Default RE: Array Textbox (Urgent! Pls Help)

    Not sure what you mean by use if for more then one value. But I&#039;ll take a guess that what you want to do is:<BR><BR>Label1.Text = "Cindy"<BR>Label1.Text &= "Tracy"<BR>Label1.Text &= "June"<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts