Click here to Skip to main content
15,910,130 members
Home / Discussions / C#
   

C#

 
AnswerRe: is there a quick and dirty way to add 'st' 'rd' 'th' to numbers? Pin
manasvarpe26-Dec-05 18:05
manasvarpe26-Dec-05 18:05 
GeneralRe: is there a quick and dirty way to add 'st' 'rd' 'th' to numbers? Pin
peshkunta26-Dec-05 18:59
peshkunta26-Dec-05 18:59 
GeneralRe: is there a quick and dirty way to add 'st' 'rd' 'th' to numbers? Pin
manasvarpe26-Dec-05 22:44
manasvarpe26-Dec-05 22:44 
Newsconnect serial comm port with VS.NET2003 Pin
sharapova26-Dec-05 6:50
sharapova26-Dec-05 6:50 
Question.net 2.0 SqlDependency Pin
fmardani26-Dec-05 6:45
fmardani26-Dec-05 6:45 
AnswerRe: .net 2.0 SqlDependency Pin
Xodiak26-Dec-05 14:53
Xodiak26-Dec-05 14:53 
GeneralRe: .net 2.0 SqlDependency Pin
fmardani26-Dec-05 20:43
fmardani26-Dec-05 20:43 
QuestionProblem with Label control Pin
naglbitur26-Dec-05 5:56
naglbitur26-Dec-05 5:56 
Hi there.
I am wondering regarding the Label control. I assigned some random numbers to some Label controls that then appear on screen, for example:
tnr8.Text = r.Next(117, 138).ToString();
tnr8.Location = new Point (20,20);
where tnr8 is the Label and r is an instance of the Random class.
I tried this but it didn´t work :

label3.Text = label1.Text + label2.Text;

How can I capture the value that is placed in the Labels? How can I add, subtract, multiply or divide the current value of the Labels that are on the screen as a result of the code?
Thanks in advance and merry christmas.


FJ
AnswerRe: Problem with Label control Pin
Curtis Schlak.26-Dec-05 6:13
Curtis Schlak.26-Dec-05 6:13 
GeneralRe: Problem with Label control Pin
naglbitur26-Dec-05 6:28
naglbitur26-Dec-05 6:28 
GeneralRe: Problem with Label control Pin
Curtis Schlak.26-Dec-05 7:03
Curtis Schlak.26-Dec-05 7:03 
GeneralRe: Problem with Label control Pin
naglbitur26-Dec-05 6:45
naglbitur26-Dec-05 6:45 
GeneralRe: Problem with Label control Pin
Curtis Schlak.26-Dec-05 7:04
Curtis Schlak.26-Dec-05 7:04 
QuestionContext menu strips event sources? Pin
Dominik Reichl26-Dec-05 4:57
Dominik Reichl26-Dec-05 4:57 
AnswerRe: Context menu strips event sources? Pin
Darryl Borden29-Dec-05 9:17
Darryl Borden29-Dec-05 9:17 
QuestionRegarding SQL Database Pin
manojk_batra26-Dec-05 1:48
manojk_batra26-Dec-05 1:48 
AnswerRe: Regarding SQL Database Pin
Colin Angus Mackay26-Dec-05 2:19
Colin Angus Mackay26-Dec-05 2:19 
GeneralRe: Regarding SQL Database Pin
manojk_batra26-Dec-05 17:30
manojk_batra26-Dec-05 17:30 
GeneralRe: Regarding SQL Database Pin
Colin Angus Mackay27-Dec-05 0:06
Colin Angus Mackay27-Dec-05 0:06 
AnswerRe: Regarding SQL Database Pin
Johny Ng26-Dec-05 11:17
Johny Ng26-Dec-05 11:17 
GeneralRe: Regarding SQL Database Pin
manojk_batra26-Dec-05 17:20
manojk_batra26-Dec-05 17:20 
GeneralRe: Regarding SQL Database Pin
Johny Ng26-Dec-05 18:33
Johny Ng26-Dec-05 18:33 
QuestionHELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
peshkunta25-Dec-05 23:53
peshkunta25-Dec-05 23:53 
AnswerRe: HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
Colin Angus Mackay26-Dec-05 2:22
Colin Angus Mackay26-Dec-05 2:22 
GeneralRe: HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
peshkunta26-Dec-05 2:31
peshkunta26-Dec-05 2:31 

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.