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
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.760 / Virus Database: 509 - Release Date: 10.9.2004 a.