Click here to Skip to main content
15,887,822 members
Home / Discussions / C#
   

C#

 
AnswerRe: Problem In Middle Tire Pin
Christian Graus27-Feb-09 10:40
protectorChristian Graus27-Feb-09 10:40 
QuestionGetting value out of DataGrid while maintaining original Type? [modified] Pin
bbranded27-Feb-09 7:59
bbranded27-Feb-09 7:59 
AnswerRe: Getting value out of DataGrid while maintaining original Type? Pin
howlettt27-Feb-09 8:59
howlettt27-Feb-09 8:59 
GeneralRe: Getting value out of DataGrid while maintaining original Type? Pin
bbranded27-Feb-09 9:07
bbranded27-Feb-09 9:07 
GeneralRe: Getting value out of DataGrid while maintaining original Type? Pin
Dan Neely27-Feb-09 10:31
Dan Neely27-Feb-09 10:31 
GeneralRe: Getting value out of DataGrid while maintaining original Type? Pin
howlettt27-Feb-09 14:01
howlettt27-Feb-09 14:01 
QuestionDIV overflow attribute in IE Mobile 6.0 Pin
dwg198627-Feb-09 7:45
dwg198627-Feb-09 7:45 
QuestionNumeric formatting question Pin
bscaer27-Feb-09 6:58
bscaer27-Feb-09 6:58 
In the following String.Format call it will format a number to 6 zero-padded digits, prepend the plus or minus sign and then pad with a space on the left to 8 characters:

String.Format({0,8:+000000;-000000}, num); // result is of the form " +002009"

What format string can I use to format a number to 7 space-padded digits and prepend the plus or minus sign before the spaces? I am looking for something like

"+ 2009"

Beth
AnswerRe: Numeric formatting question Pin
led mike27-Feb-09 7:20
led mike27-Feb-09 7:20 
GeneralRe: Numeric formatting question Pin
bscaer27-Feb-09 7:24
bscaer27-Feb-09 7:24 
GeneralRe: Numeric formatting question Pin
led mike27-Feb-09 7:37
led mike27-Feb-09 7:37 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult27-Feb-09 7:59
mvePIEBALDconsult27-Feb-09 7:59 
AnswerRe: Numeric formatting question [modified] Pin
PIEBALDconsult27-Feb-09 7:30
mvePIEBALDconsult27-Feb-09 7:30 
GeneralRe: Numeric formatting question Pin
bscaer27-Feb-09 7:36
bscaer27-Feb-09 7:36 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult27-Feb-09 8:29
mvePIEBALDconsult27-Feb-09 8:29 
GeneralRe: Numeric formatting question Pin
bscaer27-Feb-09 8:55
bscaer27-Feb-09 8:55 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult27-Feb-09 9:06
mvePIEBALDconsult27-Feb-09 9:06 
GeneralRe: Numeric formatting question Pin
Luc Pattyn27-Feb-09 10:00
sitebuilderLuc Pattyn27-Feb-09 10:00 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult27-Feb-09 10:03
mvePIEBALDconsult27-Feb-09 10:03 
GeneralRe: Numeric formatting question Pin
Dan Neely27-Feb-09 10:36
Dan Neely27-Feb-09 10:36 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult28-Feb-09 4:36
mvePIEBALDconsult28-Feb-09 4:36 
GeneralRe: Numeric formatting question Pin
Dan Neely27-Feb-09 7:51
Dan Neely27-Feb-09 7:51 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult27-Feb-09 7:54
mvePIEBALDconsult27-Feb-09 7:54 
AnswerRe: Numeric formatting question Pin
Luc Pattyn27-Feb-09 8:33
sitebuilderLuc Pattyn27-Feb-09 8:33 
GeneralRe: Numeric formatting question Pin
PIEBALDconsult27-Feb-09 8:50
mvePIEBALDconsult27-Feb-09 8:50 

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.