Click here to Skip to main content
15,505,409 members
Home / Discussions / C#
   

C#

 
GeneralRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
Gerry Schmitz21-Dec-21 11:04
mveGerry Schmitz21-Dec-21 11:04 
QuestionRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
biull smith21-Dec-21 14:15
biull smith21-Dec-21 14:15 
AnswerRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
Gerry Schmitz21-Dec-21 18:56
mveGerry Schmitz21-Dec-21 18:56 
GeneralRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
biull smith6-Jan-22 11:18
biull smith6-Jan-22 11:18 
QuestionTotal Newbie... just installing Visual Studio... Pin
Audio Babble17-Dec-21 7:08
Audio Babble17-Dec-21 7:08 
AnswerRe: Total Newbie... just installing Visual Studio... Pin
OriginalGriff17-Dec-21 7:12
mveOriginalGriff17-Dec-21 7:12 
GeneralRe: Total Newbie... just installing Visual Studio... Pin
Audio Babble17-Dec-21 7:24
Audio Babble17-Dec-21 7:24 
QuestionDisplaying data in a textBox Pin
Luis M. Rojas16-Dec-21 9:50
Luis M. Rojas16-Dec-21 9:50 
I have a textBox , when the user click on the button i read a table and make a foreach to read the rows and then display the data in the textbox.
The data in the txtMensaje has to display and change until the end, but only the last row is display.
Ex. if i have; data1, data2.data3....n
the first display data in the textbox should be data1, then data2 has to be display and so on.
But nothing happen

int fila = TNombre.Rows.Count;
     if (fila > 0)
     {
         foreach (DataRow row in TNombre.Rows)
          {               
            txtMensaje.Text = row[0].ToString();                                              
         }
     }


Thanks
AnswerRe: Displaying data in a textBox Pin
trønderen16-Dec-21 10:10
trønderen16-Dec-21 10:10 
AnswerRe: Displaying data in a textBox Pin
OriginalGriff16-Dec-21 10:50
mveOriginalGriff16-Dec-21 10:50 
GeneralRe: Displaying data in a textBox Pin
Eddy Vluggen17-Dec-21 2:14
professionalEddy Vluggen17-Dec-21 2:14 
GeneralRe: Displaying data in a textBox Pin
OriginalGriff17-Dec-21 2:42
mveOriginalGriff17-Dec-21 2:42 
GeneralRe: Displaying data in a textBox Pin
Eddy Vluggen17-Dec-21 3:58
professionalEddy Vluggen17-Dec-21 3:58 
QuestionMonthCalendar - Adding a date without having the month or year. Pin
Richard A Knox16-Dec-21 4:06
Richard A Knox16-Dec-21 4:06 
AnswerRe: MonthCalendar - Adding a date without having the month or year. Pin
PIEBALDconsult16-Dec-21 4:07
professionalPIEBALDconsult16-Dec-21 4:07 
AnswerRe: MonthCalendar - Adding a date without having the month or year. Pin
OriginalGriff16-Dec-21 5:09
mveOriginalGriff16-Dec-21 5:09 
AnswerRe: MonthCalendar - Adding a date without having the month or year. Pin
#realJSOP17-Dec-21 3:40
mva#realJSOP17-Dec-21 3:40 
Questionre-create a local database Pin
steven_noppe15-Dec-21 21:04
steven_noppe15-Dec-21 21:04 
AnswerRe: re-create a local database Pin
OriginalGriff15-Dec-21 21:54
mveOriginalGriff15-Dec-21 21:54 
AnswerRe: re-create a local database Pin
#realJSOP16-Dec-21 3:39
mva#realJSOP16-Dec-21 3:39 
GeneralRe: re-create a local database Pin
jschell23-Dec-21 6:50
jschell23-Dec-21 6:50 
QuestionHow do i gate the previous values in Crystal repor Pin
remiki14-Dec-21 8:37
remiki14-Dec-21 8:37 
AnswerRe: How do i gate the previous values in Crystal repor Pin
remiki16-Dec-21 1:56
remiki16-Dec-21 1:56 
QuestionParse from string Pin
Member 1546737514-Dec-21 5:00
Member 1546737514-Dec-21 5:00 
AnswerRe: Parse from string Pin
Pete O'Hanlon14-Dec-21 6:21
mvaPete O'Hanlon14-Dec-21 6: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.