Re: Repeater - rows
From: Shiva (shiva_sm_at_online.excite.com)
Date: 09/20/04
- Next message: Tamir Khason: "Re: Indexing of IntPtr"
- Previous message: Wiktor Zychla: "Re: LCE Late Bind"
- In reply to: Viktor Popov: "Repeater - rows"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 20 Sep 2004 12:47:48 +0530
Try giving a SeparatorTemplate with <br> in it:
<asp:Repeater ...>
...
...
<SeparatorTemplate>
<br>
</SeparatorTemplate>
</asp:Repater>
Hope this what you are looking for.
"Viktor Popov" <viketo@yahoo.com> wrote in message
news:uoYp1PinEHA.3460@tk2msftngp13.phx.gbl...
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.
- Next message: Tamir Khason: "Re: Indexing of IntPtr"
- Previous message: Wiktor Zychla: "Re: LCE Late Bind"
- In reply to: Viktor Popov: "Repeater - rows"
- Messages sorted by: [ date ] [ thread ]