Click here to Skip to main content
15,891,951 members
Home / Discussions / C#
   

C#

 
AnswerRe: MainMenu - Possible to make MenuItems stay expanded? Pin
zero.cool7-Feb-05 23:54
zero.cool7-Feb-05 23:54 
GeneralJust like This - Bandwidth Limitation in C# Pin
zero.cool7-Feb-05 22:04
zero.cool7-Feb-05 22:04 
GeneralRe: Just like This - Bandwidth Limitation in C# Pin
Dave Kreskowiak8-Feb-05 6:22
mveDave Kreskowiak8-Feb-05 6:22 
GeneralFind Scrollbar position in datagrid Pin
joy_priyank7-Feb-05 20:36
joy_priyank7-Feb-05 20:36 
GeneralHelp in Splitting a variable Pin
mfkr7-Feb-05 20:10
mfkr7-Feb-05 20:10 
GeneralRe: Help in Splitting a variable Pin
Stefan Troschuetz7-Feb-05 22:02
Stefan Troschuetz7-Feb-05 22:02 
GeneralRe: Help in Splitting a variable Pin
mfkr8-Feb-05 6:06
mfkr8-Feb-05 6:06 
GeneralRe: Help in Splitting a variable Pin
Scott Serl8-Feb-05 9:17
Scott Serl8-Feb-05 9:17 
I would probably use string parsing.
str = intTotoal.ToString("#");
lbl1.Text = str.SubString(str.Length - 2,2);
lbl2.Text = str.SubString(str.Length - 4,2);
lbl3.Text = str.SubString(str.Length - 6,2);
lbl4.Text = str.SubString(0,str.Length - 6);

Remember to put an 'if' test before each statement to check if the string is long enough to do the SubString requested.

GeneralRe: Help in Splitting a variable Pin
mfkr8-Feb-05 13:02
mfkr8-Feb-05 13:02 
GeneralRe: Help in Splitting a variable Pin
Scott Serl8-Feb-05 15:04
Scott Serl8-Feb-05 15:04 
GeneralRe: Help in Splitting a variable Pin
mfkr8-Feb-05 15:53
mfkr8-Feb-05 15:53 
GeneralRe: Help in Splitting a variable Pin
mfkr8-Feb-05 20:29
mfkr8-Feb-05 20:29 
GeneralRe: Help in Splitting a variable Pin
Stefan Troschuetz8-Feb-05 21:15
Stefan Troschuetz8-Feb-05 21:15 
Generalsending sms problem Pin
iramg7-Feb-05 19:37
iramg7-Feb-05 19:37 
GeneralTree View Control Expanding Problem Pin
joy_priyank7-Feb-05 18:21
joy_priyank7-Feb-05 18:21 
Questionwhat is the wrong??? Pin
students552 university7-Feb-05 18:16
students552 university7-Feb-05 18:16 
AnswerRe: what is the wrong??? Pin
S. Senthil Kumar7-Feb-05 18:20
S. Senthil Kumar7-Feb-05 18:20 
GeneralFinding the first empty row in an Excel sheet Pin
Flack7-Feb-05 17:24
Flack7-Feb-05 17:24 
GeneralRe: Finding the first empty row in an Excel sheet Pin
the last free name7-Feb-05 21:45
the last free name7-Feb-05 21:45 
GeneralRe: Finding the first empty row in an Excel sheet /*Edited*/ Pin
Stefan Troschuetz7-Feb-05 22:14
Stefan Troschuetz7-Feb-05 22:14 
GeneralBacking up files with Alternate Data Streams Pin
gxdata7-Feb-05 15:52
gxdata7-Feb-05 15:52 
GeneralUsing an .MDB database file Pin
SignMan3597-Feb-05 15:07
SignMan3597-Feb-05 15:07 
GeneralRe: Using an .MDB database file Pin
Luis Alonso Ramos7-Feb-05 19:27
Luis Alonso Ramos7-Feb-05 19:27 
GeneralLinked list some sort of help Pin
mik5557-Feb-05 13:37
mik5557-Feb-05 13:37 
GeneralRe: Linked list some sort of help Pin
rchokler7-Feb-05 21:15
rchokler7-Feb-05 21:15 

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.