Click here to Skip to main content
15,886,578 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using strings to name an object Pin
Expert Coming8-Sep-05 12:34
Expert Coming8-Sep-05 12:34 
GeneralRe: Using strings to name an object Pin
Christian Graus8-Sep-05 12:58
protectorChristian Graus8-Sep-05 12:58 
GeneralRe: Using strings to name an object Pin
Expert Coming8-Sep-05 13:02
Expert Coming8-Sep-05 13:02 
GeneralRe: Using strings to name an object Pin
Christian Graus8-Sep-05 13:05
protectorChristian Graus8-Sep-05 13:05 
GeneralRe: Using strings to name an object Pin
Expert Coming8-Sep-05 13:07
Expert Coming8-Sep-05 13:07 
GeneralRe: Using strings to name an object Pin
Christian Graus8-Sep-05 13:10
protectorChristian Graus8-Sep-05 13:10 
GeneralRe: Using strings to name an object Pin
Expert Coming8-Sep-05 13:12
Expert Coming8-Sep-05 13:12 
GeneralRe: Using strings to name an object Pin
Christian Graus8-Sep-05 13:16
protectorChristian Graus8-Sep-05 13:16 
ExpertComing wrote:
szMyTable.Append("<body><form runat=server><table>");

Why are you doing this in an ASP.NET app ? This is a nightmare.


ExpertComing wrote:
szMyTable.Append("szMyTable.Append(skill);
szMyTable.Append(" runat=server Text=\"");

You can't do this, you're generating HTML *after* the controls have been created.

ExpertComing wrote:
A datagrid will not work, as I am going to have the szMyTable include Textboxes and Buttons.

You're treating asp.net as if it was asp. Scrap all this code, it's really working against the framwork. Instead, create a datagrid, which CAN include textboxes and buttons. There's a bit of work in getting the events from dynamically created controls, but it can be done, and that way, you'll use the framework instead of fighting it.



Christian Graus - Microsoft MVP - C++
GeneralRe: Using strings to name an object Pin
Expert Coming8-Sep-05 13:19
Expert Coming8-Sep-05 13:19 
GeneralRe: Using strings to name an object Pin
Christian Graus8-Sep-05 13:20
protectorChristian Graus8-Sep-05 13:20 
GeneralRe: Using strings to name an object Pin
Expert Coming8-Sep-05 13:21
Expert Coming8-Sep-05 13:21 
GeneralRe: Using strings to name an object Pin
Christian Graus8-Sep-05 13:23
protectorChristian Graus8-Sep-05 13:23 
GeneralRe: Using strings to name an object Pin
Expert Coming8-Sep-05 13:26
Expert Coming8-Sep-05 13:26 
GeneralRe: Using strings to name an object Pin
Christian Graus8-Sep-05 13:34
protectorChristian Graus8-Sep-05 13:34 
QuestionModify a c# string passed in c++.net function Pin
firefoxrabbit8-Sep-05 9:29
firefoxrabbit8-Sep-05 9:29 
AnswerRe: Modify a c# string passed in c++.net function Pin
John Fisher8-Sep-05 9:50
John Fisher8-Sep-05 9:50 
GeneralRe: Modify a c# string passed in c++.net function Pin
surfman198-Sep-05 10:11
surfman198-Sep-05 10:11 
Questionregex problem Pin
surfman198-Sep-05 8:53
surfman198-Sep-05 8:53 
AnswerRe: regex problem Pin
User 66588-Sep-05 9:13
User 66588-Sep-05 9:13 
GeneralRe: regex problem Pin
User 66588-Sep-05 9:20
User 66588-Sep-05 9:20 
GeneralRe: regex problem Pin
surfman198-Sep-05 9:35
surfman198-Sep-05 9:35 
GeneralRe: regex problem Pin
User 66588-Sep-05 9:51
User 66588-Sep-05 9:51 
GeneralRe: regex problem Pin
surfman198-Sep-05 10:01
surfman198-Sep-05 10:01 
GeneralRe: regex problem Pin
User 66588-Sep-05 10:11
User 66588-Sep-05 10:11 
GeneralRe: regex problem Pin
surfman198-Sep-05 10:21
surfman198-Sep-05 10:21 

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.