المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Comma Delimted Windows Application



C# Programming
06-01-2009, 03:31 PM
Hi All,

I have an application that reads .csv data. My problem is that the is a value that is not read, it will read the number before the comma, but this is one number.

How do i make the app read the full number, e.g.: 1,093?

if (_lineItem == 12)
{
// the rows that will be added into the
// specified columns
dt.Rows.Add(new object[] { _dateParse, _casinoname, _line[3].Replace("\"", "").Replace("," , "")});
}
_lineItem++;

Thank you,