Click here to Skip to main content
15,897,519 members
Home / Discussions / C#
   

C#

 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 132944085-Jul-17 3:03
Member 132944085-Jul-17 3:03 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier5-Jul-17 7:23
mveRalf Meier5-Jul-17 7:23 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 1329440813-Jul-17 0:00
Member 1329440813-Jul-17 0:00 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier13-Jul-17 0:24
mveRalf Meier13-Jul-17 0:24 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 1329440813-Jul-17 21:35
Member 1329440813-Jul-17 21:35 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier13-Jul-17 21:52
mveRalf Meier13-Jul-17 21:52 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 1329440813-Jul-17 22:20
Member 1329440813-Jul-17 22:20 
AnswerRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier13-Jul-17 22:39
mveRalf Meier13-Jul-17 22:39 
Of course ... Wink | ;)

If I see it right then one data-block goes from a line which contents "BLAST DRIVER ON" and ends with the line before the next "BLAST DRIVER ON" or EndOfFile - Am I right ?
The PU-Information is allways inside the line after the line with the content "BLAST SUMMARY"
The Det-Info is allways inside the line after the line with the content "BLASTING PLAN". If you have more than one Det the next Det-DataBlock comes after a line beginning with "PU"

So ... in fact this is the Programm you have to build :
- read the whole text-File into a List(of String) - as I allready wrote before
- scan the text-Lines for the required text-parts
- build Variables (Array's) to which the required Information could be assigned - better build a Class-Object with the required parts in it (but this could also be done later)
your Variables could be : TimeStamp (as string), Dets(as Array of string) and Blast_Data (as string or perhaps something Special)

Do you think that you could create the required code ?
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 1329440813-Jul-17 22:57
Member 1329440813-Jul-17 22:57 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier14-Jul-17 1:59
mveRalf Meier14-Jul-17 1:59 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 1329440814-Jul-17 2:10
Member 1329440814-Jul-17 2:10 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 1329440814-Jul-17 3:07
Member 1329440814-Jul-17 3:07 
AnswerRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier14-Jul-17 9:41
mveRalf Meier14-Jul-17 9:41 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 1329440817-Jul-17 20:18
Member 1329440817-Jul-17 20:18 
AnswerRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier17-Jul-17 21:33
mveRalf Meier17-Jul-17 21:33 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Member 1329440828-Jul-17 0:25
Member 1329440828-Jul-17 0:25 
GeneralRe: Text file search, combobox and Datagridview C# Help Pin
Ralf Meier28-Jul-17 0:26
mveRalf Meier28-Jul-17 0:26 
AnswerRe: Text file search, combobox and Datagridview C# Help Pin
BillWoodruff5-Jul-17 21:44
professionalBillWoodruff5-Jul-17 21:44 
QuestionIs this madness? The pursuit of single-statement methods Pin
Kevin Li (Li, Ken-un)4-Jul-17 10:13
Kevin Li (Li, Ken-un)4-Jul-17 10:13 
AnswerRe: Is this madness? The pursuit of single-statement methods Pin
PIEBALDconsult4-Jul-17 10:21
mvePIEBALDconsult4-Jul-17 10:21 
SuggestionRe: Is this madness? The pursuit of single-statement methods Pin
Richard Deeming4-Jul-17 11:09
mveRichard Deeming4-Jul-17 11:09 
GeneralRe: Is this madness? The pursuit of single-statement methods Pin
Pete O'Hanlon5-Jul-17 4:44
mvePete O'Hanlon5-Jul-17 4:44 
AnswerRe: Is this madness? The pursuit of single-statement methods Pin
Marc Clifton4-Jul-17 11:26
mvaMarc Clifton4-Jul-17 11:26 
AnswerRe: Is this madness? The pursuit of single-statement methods Pin
Bernhard Hiller4-Jul-17 21:31
Bernhard Hiller4-Jul-17 21:31 
AnswerRe: Is this madness? The pursuit of single-statement methods Pin
ScottM14-Jul-17 22:49
ScottM14-Jul-17 22:49 

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.