Click here to Skip to main content
15,879,326 members
Home / Discussions / C#
   

C#

 
AnswerRe: Formatting code to post on this discussion group Pin
Dave Kreskowiak15-May-19 15:11
mveDave Kreskowiak15-May-19 15:11 
GeneralRe: Formatting code to post on this discussion group Pin
Brian_TheLion15-May-19 15:14
Brian_TheLion15-May-19 15:14 
QuestionHow to change screen resolution in secondary display? Pin
jrdnoland14-May-19 0:29
jrdnoland14-May-19 0:29 
SuggestionRe: How to change screen resolution in secondary display? Pin
CHill6014-May-19 1:11
mveCHill6014-May-19 1:11 
QuestionMessage Removed Pin
13-May-19 20:45
Alexduu13-May-19 20:45 
AnswerMessage Removed Pin
13-May-19 21:02
professionalMycroft Holmes13-May-19 21:02 
GeneralMessage Removed Pin
13-May-19 21:26
mveRichard MacCutchan13-May-19 21:26 
QuestionString Line formating in C# Pin
anilkolla13-May-19 19:32
anilkolla13-May-19 19:32 
I have a list of strings and I want to join all of them as single line. Here spacings are the key, I Have to read the existing line and I need to maintain the same formatting. for example

Existing Lines:
BBSS14       CODE     SIZE     253     1.25        1         800     EXTENDED       1.52    89.39
B4           CO       S		 3	1.1	   5	      80     EXTE             22  89.3669
BB14         CODEER   SIZE      53        1       12        1147     EX            2.852        9
BB14         CODE     SE     22253      0.1        1           1     EXTED         2.852       69
BB14         DOERERR  SIZE       3        3      525           0     EXTEND         2.82     89.0


I have to read any one of the above lines and set the formatting.

If we see the above example some columns are left aligned and some are right aligned we have to maintain the same format for the given list of strings.

If somebody know the string formatting plz help me.
AnswerRe: String Line formating in C# Pin
OriginalGriff13-May-19 20:40
mveOriginalGriff13-May-19 20:40 
GeneralRe: String Line formating in C# Pin
BillWoodruff13-May-19 23:32
professionalBillWoodruff13-May-19 23:32 
GeneralRe: String Line formating in C# Pin
OriginalGriff13-May-19 23:38
mveOriginalGriff13-May-19 23:38 
AnswerRe: String Line formating in C# Pin
Eddy Vluggen13-May-19 22:11
professionalEddy Vluggen13-May-19 22:11 
AnswerRe: String Line formating in C# Pin
BillWoodruff13-May-19 23:28
professionalBillWoodruff13-May-19 23:28 
Questioncould someone one know what is the error in( cmnd.ExecuteNonQuery();)at button 3 it doesnt work Pin
Member 1436661013-May-19 6:34
Member 1436661013-May-19 6:34 
AnswerRe: could someone one know what is the error in( cmnd.ExecuteNonQuery();)at button 3 it doesnt work Pin
Dave Kreskowiak13-May-19 7:07
mveDave Kreskowiak13-May-19 7:07 
AnswerRe: could someone one know what is the error in( cmnd.ExecuteNonQuery();)at button 3 it doesnt work Pin
Luc Pattyn13-May-19 9:31
sitebuilderLuc Pattyn13-May-19 9:31 
AnswerRe: could someone one know what is the error in( cmnd.ExecuteNonQuery();)at button 3 it doesnt work Pin
Eddy Vluggen13-May-19 10:12
professionalEddy Vluggen13-May-19 10:12 
Questioncould some Pin
Member 1436661013-May-19 6:31
Member 1436661013-May-19 6:31 
AnswerRe: could some Pin
Dave Kreskowiak13-May-19 7:03
mveDave Kreskowiak13-May-19 7:03 
QuestionHow to Read RPM from CANBUS data using a GUI Pin
firoz kamarudin12-May-19 22:05
firoz kamarudin12-May-19 22:05 
AnswerRe: How to Read RPM from CANBUS data using a GUI Pin
phil.o13-May-19 1:02
professionalphil.o13-May-19 1:02 
GeneralRe: How to Read RPM from CANBUS data using a GUI Pin
firoz kamarudin13-May-19 17:56
firoz kamarudin13-May-19 17:56 
QuestionFinal Project its importent Pin
Member 1436409711-May-19 13:54
Member 1436409711-May-19 13:54 
AnswerRe: Final Project its importent Pin
Dave Kreskowiak11-May-19 14:23
mveDave Kreskowiak11-May-19 14:23 
AnswerRe: Final Project its importent Pin
BillWoodruff11-May-19 14:27
professionalBillWoodruff11-May-19 14:27 

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.