Click here to Skip to main content
15,889,909 members
Home / Discussions / C#
   

C#

 
AnswerRe: Looping through form elements Pin
Wjousts17-May-06 3:53
Wjousts17-May-06 3:53 
GeneralRe: Looping through form elements: THANKS Pin
Brendan Vogt17-May-06 4:22
Brendan Vogt17-May-06 4:22 
GeneralRe: Looping through form elements: THANKS Pin
Wjousts17-May-06 4:33
Wjousts17-May-06 4:33 
GeneralRe: Looping through form elements: THANKS Pin
J4amieC17-May-06 4:34
J4amieC17-May-06 4:34 
QuestionRe: Looping through form elements Pin
Brendan Vogt17-May-06 4:34
Brendan Vogt17-May-06 4:34 
AnswerRe: Looping through form elements Pin
Wjousts17-May-06 5:31
Wjousts17-May-06 5:31 
GeneralRe: Looping through form elements Pin
J4amieC17-May-06 5:47
J4amieC17-May-06 5:47 
GeneralRe: Looping through form elements Pin
Brendan Vogt17-May-06 22:52
Brendan Vogt17-May-06 22:52 
Somewhere there is something wrong with my code.

When I go a create my textbox dynamically I did it like this:

foreach (Hub h in lstHubs)
{
strHubs = strHubs + "<tr>" +
"<td width=\"15%\"><h5>" + h.HubName + "</h5></td>" +
"<td width=\"85%\">" + "<input type=\"text\" id=\"txtHub" + h.HubID + "\" size=\"7\" MaxLength=\"6\" class=\"InputText\" runat=\"server\" />%<br />" + "</td>" +
"</tr>";
}

When I do that loop of yours it does not bring back anything. So did I declare my textbox incorrectly?

Please help.
AnswerRe: Looping through form elements Pin
stancrm18-May-06 2:50
stancrm18-May-06 2:50 
QuestionRe: Looping through form elements Pin
Brendan Vogt18-May-06 3:29
Brendan Vogt18-May-06 3:29 
GeneralRe: Looping through form elements Pin
Brendan Vogt15-Jun-06 0:38
Brendan Vogt15-Jun-06 0:38 
QuestionLicensing Scheme for C# apps Pin
student_rhr17-May-06 3:22
student_rhr17-May-06 3:22 
Questiona question about messageboxbuttons.okcancel ? Pin
cmpeng3417-May-06 3:14
cmpeng3417-May-06 3:14 
AnswerRe: a question about messageboxbuttons.okcancel ? Pin
Colin Angus Mackay17-May-06 3:22
Colin Angus Mackay17-May-06 3:22 
AnswerRe: a question about messageboxbuttons.okcancel ? Pin
stancrm17-May-06 3:28
stancrm17-May-06 3:28 
AnswerRe: a question about messageboxbuttons.okcancel ? Pin
coolestCoder17-May-06 3:40
coolestCoder17-May-06 3:40 
QuestionMS Outlook-esque control Pin
NewbieDude17-May-06 3:01
NewbieDude17-May-06 3:01 
AnswerRe: MS Outlook-esque control Pin
J4amieC17-May-06 3:04
J4amieC17-May-06 3:04 
AnswerRe: MS Outlook-esque control Pin
ekynox17-May-06 22:01
ekynox17-May-06 22:01 
GeneralRe: MS Outlook-esque control Pin
NewbieDude17-May-06 22:04
NewbieDude17-May-06 22:04 
QuestionOpen .xls file in excel from code Pin
livez17-May-06 3:01
livez17-May-06 3:01 
AnswerRe: Open .xls file in excel from code Pin
CWIZO17-May-06 9:10
CWIZO17-May-06 9:10 
GeneralRe: Open .xls file in excel from code Pin
livez17-May-06 20:10
livez17-May-06 20:10 
GeneralRe: Open .xls file in excel from code Pin
CWIZO17-May-06 20:49
CWIZO17-May-06 20:49 
GeneralRe: Open .xls file in excel from code Pin
livez17-May-06 21:33
livez17-May-06 21:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.