Click here to Skip to main content
15,920,438 members
Home / Discussions / C#
   

C#

 
Questionstoring Data from textbox created At runtime? Pin
developer.ravish14-Jan-09 0:53
developer.ravish14-Jan-09 0:53 
AnswerRe: storing Data from textbox created At runtime? Pin
Tom Deketelaere14-Jan-09 1:25
professionalTom Deketelaere14-Jan-09 1:25 
GeneralRe: storing Data from textbox created At runtime? Pin
developer.ravish14-Jan-09 2:32
developer.ravish14-Jan-09 2:32 
GeneralRe: storing Data from textbox created At runtime? [modified] Pin
Tom Deketelaere14-Jan-09 2:44
professionalTom Deketelaere14-Jan-09 2:44 
GeneralRe: storing Data from textbox created At runtime? Pin
developer.ravish14-Jan-09 19:19
developer.ravish14-Jan-09 19:19 
GeneralRe: storing Data from textbox created At runtime? Pin
Tom Deketelaere14-Jan-09 20:53
professionalTom Deketelaere14-Jan-09 20:53 
GeneralRe: storing Data from textbox created At runtime? Pin
developer.ravish15-Jan-09 1:00
developer.ravish15-Jan-09 1:00 
GeneralRe: storing Data from textbox created At runtime? Pin
Tom Deketelaere15-Jan-09 1:30
professionalTom Deketelaere15-Jan-09 1:30 
This is completely different than the first code you posted.

But basicly its the same, you'll have to go thru all the rows of tbl1 and tbl2.
Get the cell of that row(since you only have one column you should be able to get it very easy). That cell should then contain your textbox off which you can get the text.

pseudo code (vb.net sorry)

for each row as datarow in tbl1
dim txt as textbox = row.item(0).control(0)
dim data as string = txt.text
next

You'll have to adapt this code it is untested and from memory so...
GeneralRe: storing Data from textbox created At runtime? Pin
developer.ravish15-Jan-09 2:36
developer.ravish15-Jan-09 2:36 
Questionc# Pin
amcikaljaber14-Jan-09 0:01
amcikaljaber14-Jan-09 0:01 
AnswerRe: c# Pin
Eddy Vluggen14-Jan-09 0:11
professionalEddy Vluggen14-Jan-09 0:11 
AnswerRe: c# Pin
Tony Richards14-Jan-09 0:12
Tony Richards14-Jan-09 0:12 
AnswerRe: c# Pin
musefan14-Jan-09 0:13
musefan14-Jan-09 0:13 
AnswerRe: c# Pin
musefan14-Jan-09 0:25
musefan14-Jan-09 0:25 
GeneralRe: c# Pin
J4amieC14-Jan-09 1:10
J4amieC14-Jan-09 1:10 
AnswerRe: c# Pin
Colin Angus Mackay14-Jan-09 0:42
Colin Angus Mackay14-Jan-09 0:42 
AnswerRe: c# Pin
DaveyM6914-Jan-09 0:57
professionalDaveyM6914-Jan-09 0:57 
AnswerRe: c# Pin
Pete O'Hanlon14-Jan-09 1:28
mvePete O'Hanlon14-Jan-09 1:28 
AnswerRe: c# Pin
Christian Graus14-Jan-09 2:28
protectorChristian Graus14-Jan-09 2:28 
AnswerRe: c# Pin
musefan14-Jan-09 2:54
musefan14-Jan-09 2:54 
AnswerRe: c# Pin
leckey14-Jan-09 3:21
leckey14-Jan-09 3:21 
QuestionWindows service suggestions Pin
mpavas14-Jan-09 0:00
mpavas14-Jan-09 0:00 
QuestionNeed advise about desktop application Pin
Haim Nachum13-Jan-09 22:28
Haim Nachum13-Jan-09 22:28 
AnswerRe: Need advise about desktop application Pin
SeMartens13-Jan-09 23:14
SeMartens13-Jan-09 23:14 
QuestionLink ArrayList to datagridview and display spesific data Pin
Ronenb13-Jan-09 20:51
Ronenb13-Jan-09 20:51 

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.