Monday, July 27, 2009

How do i display contents; grabbed from textboxes, then put into an array, using a label control, using c#?

This is using c#


here is the array


%26lt;script runt="server"%26gt;


void Page_Load(object sender, EventArgs e)


{


String[] userdata = new string[19];


userdata[0] = "Page2Text1";


userdata[1] = "Page2Text2"; etc


userdata[18] = "Page2Text19"


}


%26lt;/script%26gt;


I have a button i'm going to press, so i'll need an event handler that'll take whats in the array which is from various textboxes as you can see from above and i want to display the contents in a label control.

How do i display contents; grabbed from textboxes, then put into an array, using a label control, using c#?
Are you loading everything to the same page, or are you redirecting to a new page?

floral design

No comments:

Post a Comment