Like this :
WavelengthS100141.asd
325 0.015082292401682
326 0.011690540571175
327 1.06575414031349E-02
328 1.30298010496599E-02
I want the result to appear like this :
WavelengthS100144.asd
325 1.35059549289737E-02
326 0.010981114226419
327 1.22348778870862E-02
328 1.63555124470031E-02
WavelengthS100147.asd
325 1.35059549289737E-02
326 0.010981114226419
327 1.22348778870862E-02
328 1.63555124470031E-02
I want the result to appear like this :
Wavelength S100141.asd S100144 S100147
325 0.015082292401682 1.35059549289737E-02 1.35059549289737E-02
326 0.011690540571175 0.010981114226419 0.010981114226419
327 1.22348778870862E-02 1.06575414031349E-02 1.22348778870862E-02
328 1.63555124470031E-02 1.30298010496599E-02 1.63555124470031E-02
anybody can help
anybody can help
Dhirendra MisraPosted Jan 16, 2014, 3:00 AM
Call from Main:
Meenakshi Kumari SyalPosted Jan 23, 2014, 1:36 AM
Dhirendra MisraPosted Jan 22, 2014, 5:07 PM
Sorry for detailed response. I was out of internet access.
Then in merge button click you call the following as suggested earlier.
Meenakshi Kumari SyalPosted Jan 20, 2014, 4:02 AM
I want to use opendialog box to select multiple text files and list file path at listview.one label indicating number of files selected.and on button merge click those all files get merged in such a way
please help me to get ouput like this .
Meenakshi Kumari SyalPosted Jan 20, 2014, 4:01 AM
VulpesPosted Jan 16, 2014, 6:16 AM
I don't understand that error if the format of the file is what you say it is and you're using the code exactly as posted. The code worked fine with the sample file you gave.
'name' can't be null in the while statement as there is an explicit check for nullness prior to adding it to the dictionary.
'name' can only be null after the while statement ends if there is no line in the file which starts with 'Wavelength'.
So can you post (or zip and attach) the actual file you're using so I can check it.
Meenakshi Kumari SyalPosted Jan 16, 2014, 12:02 AM
dict.Add(name, list);
now suggest me
VulpesPosted Jan 15, 2014, 9:23 AM