reading data from txt file
Posted on 2006-04-23
hi there i have txt file that i reading from him
the txt file is like this :
the first number is the product key and the -6 is the quantity that sold in day.
i need to poll out the proKey to a string variable and the quantity to a int variable
then i need to send them to a func
i tryd to do it like that :
ArrayList arrText = new ArrayList();
char delimiter = ' ';
while (sLine != null)
sLine = objReader.ReadLine();
if (sLine != null)
foreach (string sOutput in arrText)
but i am geeting the ProKey and the quntaty in the same line i need to split them into a 2 varible...