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 MisraRank #4,173 · 360 reputationPosted Jan 15, 2014, 10:00 PM EST
Call from Main:
VulpesRank #55 · 29.2K reputationPosted Jan 15, 2014, 4:23 AM EST
Meenakshi Kumari Syal54 reputationPosted Jan 15, 2014, 7:02 PM EST
dict.Add(name, list);
now suggest me
VulpesRank #55 · 29.2K reputationPosted Jan 16, 2014, 1:16 AM EST
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 Syal54 reputationPosted Jan 19, 2014, 11:01 PM EST
Meenakshi Kumari Syal54 reputationPosted Jan 19, 2014, 11:02 PM EST
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 .
Dhirendra MisraRank #4,173 · 360 reputationPosted Jan 22, 2014, 12:07 PM EST
Sorry for detailed response. I was out of internet access.
Then in merge button click you call the following as suggested earlier.
Meenakshi Kumari Syal54 reputationPosted Jan 22, 2014, 8:36 PM EST