Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
GeneralRe: MiniHttpServer Pin
DaveyM6924-Mar-11 0:18
professionalDaveyM6924-Mar-11 0:18 
GeneralRe: MiniHttpServer Pin
Dave Kreskowiak24-Mar-11 1:54
mveDave Kreskowiak24-Mar-11 1:54 
AnswerRe: MiniHttpServer Pin
BobJanova24-Mar-11 3:13
BobJanova24-Mar-11 3:13 
AnswerRe: MiniHttpServer -- ANSWERED Pin
Pascal Ganaye26-Mar-11 8:19
Pascal Ganaye26-Mar-11 8:19 
QuestionWindows service setup custom action Error 1001 System.BadImageFormatException Pin
Chesnokov Yuriy23-Mar-11 9:30
professionalChesnokov Yuriy23-Mar-11 9:30 
QuestionWriting a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc). Pin
Piyush Vaishnav23-Mar-11 0:42
Piyush Vaishnav23-Mar-11 0:42 
AnswerRe: Writing a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc). PinPopular
Luc Pattyn23-Mar-11 1:24
sitebuilderLuc Pattyn23-Mar-11 1:24 
AnswerRe: Writing a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc). Pin
TheyCallMeMrJames23-Mar-11 3:53
TheyCallMeMrJames23-Mar-11 3:53 
Much as Luc said, your choices are either to use delimiters (or markup), or to go to fixed-width columns.

You can use string.PadLeft or .PadRight to achieve columns, but you'll need to know the maximum length possible in each column (or truncate longer data).

It's not good to try to store your formatting in with your data, I would recommend delimited text or finding a solution via XML and finally using something to generate your display (rather than relying intrinsically on the stored data).

Cheers.

GeneralRe: Writing a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc). Pin
Piyush Vaishnav23-Mar-11 22:20
Piyush Vaishnav23-Mar-11 22:20 
GeneralRe: Writing a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc). Pin
TheyCallMeMrJames24-Mar-11 5:51
TheyCallMeMrJames24-Mar-11 5:51 
QuestionHow to improve listbox databind in WIndows Mobile 6 Pin
Eder Sa22-Mar-11 9:33
Eder Sa22-Mar-11 9:33 
AnswerRe: How to improve listbox databind in WIndows Mobile 6 Pin
Not Active22-Mar-11 9:55
mentorNot Active22-Mar-11 9:55 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eder Sa22-Mar-11 10:10
Eder Sa22-Mar-11 10:10 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Not Active22-Mar-11 10:36
mentorNot Active22-Mar-11 10:36 
AnswerRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eddy Vluggen22-Mar-11 10:41
professionalEddy Vluggen22-Mar-11 10:41 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eder Sa22-Mar-11 11:26
Eder Sa22-Mar-11 11:26 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eddy Vluggen22-Mar-11 22:19
professionalEddy Vluggen22-Mar-11 22:19 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eder Sa23-Mar-11 6:19
Eder Sa23-Mar-11 6:19 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Pete O'Hanlon23-Mar-11 6:45
mvePete O'Hanlon23-Mar-11 6:45 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eder Sa23-Mar-11 6:52
Eder Sa23-Mar-11 6:52 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Pete O'Hanlon23-Mar-11 23:07
mvePete O'Hanlon23-Mar-11 23:07 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Eddy Vluggen23-Mar-11 8:54
professionalEddy Vluggen23-Mar-11 8:54 
AnswerRe: How to improve listbox databind in WIndows Mobile 6 Pin
Nitheesh George24-Mar-11 2:56
Nitheesh George24-Mar-11 2:56 
GeneralRe: How to improve listbox databind in WIndows Mobile 6 Pin
Pete O'Hanlon24-Mar-11 3:16
mvePete O'Hanlon24-Mar-11 3:16 
QuestionProblem With sending values via serial port Pin
Honeyboy_2022-Mar-11 9:02
Honeyboy_2022-Mar-11 9:02 

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.