Hi,
Thank u very much once again.I already did this..
Code:
if (text != null)
{
//Console.WriteLine(text);
text = reader.ReadLine();
txtResults.Text = text;
}
But still mine file ends up after mine text has finished. If I will use this code in if
Code:
text = reader.ReadLine();
if (text != null)
{
//Console.WriteLine(text);
txtResults.Text = text;
}
then mine program shifts to else after mine code end up. So I am not able to get how to restart mine text file again automatically.
Thanks for yours kind help.
Regards.
Nasir