insert blank row between records

M

mark

i need to insert a blank row between each row of data - is this possible ?

thanks

mark
 
P

Prodip Saha

Mark,
I think you can do it by using template columns. You have to add an extra
control(such as label) for each template column something like below--

<Columns>
<asp:TemplateColumn HeaderText="whatever">
<ItemTemplate>
<asp:Label ID="lblLabel1" Runat=server Width=100px Text='<%#
DataBinder.Eval(Container.DataItem, "FieldName from DataTable") %>'>
</asp:Label>
<asp:Label ID="lblLabel2" Runat=server Width=100px Text="">
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>

Prodip
 
R

Rick Spiewak

If you're binding to a datatable, you could add the blank rows to the table
before you bind it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top