I am writing a Winform application with C# 4.0.
My DataTable structure:
Name: Event1
Columns:
RunTime
TimeInterval
Value1
Value2
Value3
Iterations
Mode
Resource
Example Data:(all strings)
RunTime |TimeInterval | Value1 | Value2|Value3|Iterations|Mode|Resource
0.00 | .25 | 30 | 9 | A | 1 | 300 | Run1
.25 | .005 | | | | | |Run1Delay
.255 | .25 | 30 | 9 | A | 1 | 300 | Run1
.505 | .25 | 30 | 7 | A | 50 | 100 | Run2
13.005 | .005 | | | | | | Run2Delay
13.010 | .25 | 30 | 7 | B | 1 | 100 | Run3
13.260 | .25 | 30 | 7 | B | 1 | 100 | Run3
13.51 | .25 | 30 | 7 | B | 1 | 100 | Run3
13.76 | .1 | | | | | | Run3Delay
for a any Row with iteration of 1 and followed by a delay("resource like %Delay% or Iteration is null)
Alter the row by adding time interval value from the delay and Delete the Delay row.
Any and all recommendations welcomed.