Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie question
Message
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01471507
Message ID:
01471519
Views:
44
>>>>>>What about assignment of array's value?
>>>>>
>>>>>Same principle (shrug):
TextBox t = (TextBox)this.Controls.Find(s, true)[0];
>>>>>t.Text = stack[column,row].ToString();
>>>>>t.ForeColor = textboxforecolor;
>>>>
>>>>Do we need this code in a loop? E.g. column is a variable (0-6) ?
>>>
>>>I think Bill said there would be 52 possible values. But he's only dealing with one - why a loop ?
>>
>>The code above is probably part of the loop through all gridview's columns.
>
>What makes you think that ?

Makes sense to me - we have 52 textboxes and want to assign values from them to 52 columns. But since it was not part of the code shown, you're right, your code answers the question as it was asked.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform