M
Moe Sizlak
Hi There,
I am wanting to format a datalist into columns, so do I need to use a table
rows & columns? or can I use templates and a property at the top of the list
itself ? It seems that when I try to format the datalist I can't get it to
look like a normal html table.
Moe
col1 col2 col3 col4 col 5
<aspataList id="modify_listings"
runat="server"
headerstyle-font-name="Verdana"
cellpadding="10"
cellspacing="10"
GridLines="Both"
headerstyle-font-size="12pt"
headerstyle-horizontalalign="center"
headerstyle-font-bold="true"
itemstyle-backcolor="#778899"
itemstyle-forecolor="#ffffff"
footerstyle-font-size="9pt"
footerstyle-font-italic="true"
ShowHeader="true">
<HeaderTemplate>
<b> List</b>
</HeaderTemplate>
<ItemTemplate>
<asp:HyperLink id="HyperLink3"
style="font-size:xxsmall" Text='Modify' NavigateUrl='<%#
"edit_listings.aspx?ListingID=" & DataBinder.Eval(Container.DataItem,
"ListingID")%>' runat="server" /><br />
<%# DataBinder.Eval(Container.DataItem,
"listprice","{0:c}")%><br />
<%# DataBinder.Eval(Container.DataItem,
"manufacturer") %><br />
<%# DataBinder.Eval(Container.DataItem,
"listeddate","{0:dd-MM-yy}") %><br />
<%# DataBinder.Eval(Container.DataItem,
"formname") %><br />
<%# DataBinder.Eval(Container.DataItem,
"status") %><br />
<asp:HyperLink id="HyperLink1"
style="font-size:xxsmall" Text='Item Sold?' NavigateUrl='<%#
"processrequest.aspx?I=1&ListingID=" & DataBinder.Eval(Container.DataItem,
"ListingID")%>' runat="server" />
</ItemTemplate>
</aspataList>
I am wanting to format a datalist into columns, so do I need to use a table
rows & columns? or can I use templates and a property at the top of the list
itself ? It seems that when I try to format the datalist I can't get it to
look like a normal html table.
Moe
col1 col2 col3 col4 col 5
<aspataList id="modify_listings"
runat="server"
headerstyle-font-name="Verdana"
cellpadding="10"
cellspacing="10"
GridLines="Both"
headerstyle-font-size="12pt"
headerstyle-horizontalalign="center"
headerstyle-font-bold="true"
itemstyle-backcolor="#778899"
itemstyle-forecolor="#ffffff"
footerstyle-font-size="9pt"
footerstyle-font-italic="true"
ShowHeader="true">
<HeaderTemplate>
<b> List</b>
</HeaderTemplate>
<ItemTemplate>
<asp:HyperLink id="HyperLink3"
style="font-size:xxsmall" Text='Modify' NavigateUrl='<%#
"edit_listings.aspx?ListingID=" & DataBinder.Eval(Container.DataItem,
"ListingID")%>' runat="server" /><br />
<%# DataBinder.Eval(Container.DataItem,
"listprice","{0:c}")%><br />
<%# DataBinder.Eval(Container.DataItem,
"manufacturer") %><br />
<%# DataBinder.Eval(Container.DataItem,
"listeddate","{0:dd-MM-yy}") %><br />
<%# DataBinder.Eval(Container.DataItem,
"formname") %><br />
<%# DataBinder.Eval(Container.DataItem,
"status") %><br />
<asp:HyperLink id="HyperLink1"
style="font-size:xxsmall" Text='Item Sold?' NavigateUrl='<%#
"processrequest.aspx?I=1&ListingID=" & DataBinder.Eval(Container.DataItem,
"ListingID")%>' runat="server" />
</ItemTemplate>
</aspataList>