Hi,
While reading CSV file, in each line first character is missing…. Here is the case..
CSV file data…
Reported Date | Name | Status |
4/19/2011 18:52 | INC000005134305 | Closed |
4/19/2011 18:48 | INC000005134250 | Closed |
4/19/2011 18:11 | INC000005134058 | Closed |
Code..
OpenFileDialog Prp_Opendialogue = new OpenFileDialog();
bool? lBlnFile = Prp_Opendialogue.ShowDialog();
if ((bool)lBlnFile)
{
FileInfo lObjFileInfo = Prp_Opendialogue.File;
}
StreamReader lObjStreamReader = new StreamReader(Prp_Opendialogue.File.OpenRead());
bool lBlnIsColumnRow = true;
while (lObjStreamReader.Read() != null)
{
string lStrLine = lObjStreamReader.ReadLine();
}
………….
Here in this lStrline, I am getting "/19/2011 18:52, INC000005134305, Closed", here you can see 4 is missing. How can I get this…
Any ideas please..
Sreenath

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted May 17, 2011, 5:58 AM EDT
Try to read CVS file in some other way or read other file and check it.
Did you get the solution for Binding problem in Previous Silverlight query ?
If yes please post the Answer.
Sreenath GRank #8,268 · 225 reputationPosted May 17, 2011, 8:16 AM EDT
StreamReader lObjStreamReader = new StreamReader(Prp_Opendialogue.File.OpenRead()); bool lBlnIsColumnRow = true; string lStrLine; while ((lStrLine = lObjStreamReader.ReadLine()) != null) { // do something with lStrLine }Sreenath GRank #8,268 · 225 reputationPosted May 17, 2011, 8:20 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted May 17, 2011, 3:47 PM EDT