V
Viktor Popov
Hi,
I have the following problem. I read from a text file and than I would like
to show what I read in a Repeater control using this function:
ArrayList Words = new ArrayList();
StreamReader sr = File.OpenText("g:\\log1.txt");
while(sr.Peek() > 0)
{
string[] Data = sr.ReadLine().Split("*".ToCharArray());
foreach(string dt in Data)
{
Words.Add(dt);
}
}
sr.Close();
ExtRepeater.DataSource = Words;
ExtRepeater.DataBind();
Tha string is word*word*word*word*word.
It works, but I can't arrange the results in the Repeater in Rows. They are
in columns. How could be accomplished that?
Thanks,
Viktor
I have the following problem. I read from a text file and than I would like
to show what I read in a Repeater control using this function:
ArrayList Words = new ArrayList();
StreamReader sr = File.OpenText("g:\\log1.txt");
while(sr.Peek() > 0)
{
string[] Data = sr.ReadLine().Split("*".ToCharArray());
foreach(string dt in Data)
{
Words.Add(dt);
}
}
sr.Close();
ExtRepeater.DataSource = Words;
ExtRepeater.DataBind();
Tha string is word*word*word*word*word.
It works, but I can't arrange the results in the Repeater in Rows. They are
in columns. How could be accomplished that?
Thanks,
Viktor