Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ListView for simple category, data layout

Reply
Thread Tools

ListView for simple category, data layout

 
 
.Net Sports
Guest
Posts: n/a
 
      04-29-2010
I have a datalist that simply displays a webpage title, webpage
description and a url :

'''''''''''''
<form Runat="Server">

<asp:datalist id="dlstList" RepeatColumns="2" width="700px"
runat="server" cellspacing="8">
<ItemTemplate>
<span class="body11-blk"><%# Container.DataItem( "webtitle" )%></
span><br>
<span class="body9sm-bl">
<%# Container.DataItem( "webdescript" )%></
span><BR>

<a href="http://<%# Container.DataItem( "url" )
%>" target=_blank" class="weblist9">
<%# Container.DataItem( "url" )%></
a>

</ItemTemplate></asp:datalist>
<!--End Datalist display Links -->
</form>

''''''''''''
I can't find any resources for grouping data with a listview (which I
would want to use instead of the datalist control), whereas i want to
list these links according to a category, which also would be in my
resultset.
???
NS
 
Reply With Quote
 
 
 
 
gerry
Guest
Posts: n/a
 
      04-29-2010
google "asp.net listview grouping" you'll get lots of doc and examples


".Net Sports" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a datalist that simply displays a webpage title, webpage
> description and a url :
>
> '''''''''''''
> <form Runat="Server">
>
> <asp:datalist id="dlstList" RepeatColumns="2" width="700px"
> runat="server" cellspacing="8">
> <ItemTemplate>
> <span class="body11-blk"><%# Container.DataItem( "webtitle" )%></
> span><br>
> <span class="body9sm-bl">
> <%# Container.DataItem( "webdescript" )%></
> span><BR>
>
> <a href="http://<%# Container.DataItem( "url" )
> %>" target=_blank" class="weblist9">
> <%# Container.DataItem( "url" )%></
> a>
>
> </ItemTemplate></asp:datalist>
> <!--End Datalist display Links -->
> </form>
>
> ''''''''''''
> I can't find any resources for grouping data with a listview (which I
> would want to use instead of the datalist control), whereas i want to
> list these links according to a category, which also would be in my
> resultset.
> ???
> NS



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
asp.net ListView control - Configure ListView option missing? . ASP .Net 0 07-24-2010 12:20 AM
Listview Control column layout AG ASP .Net 5 03-16-2009 01:15 AM
Choosing Layout: Css-Layout or Table-Layout hpourfard@gmail.com ASP .Net 1 06-19-2006 10:06 AM
Converting from grid layout to flow layout. RobertH ASP .Net 1 11-04-2003 12:43 AM
DataList inside a Grid Layout Panel (<DIV>) item layout problem Rick Spiewak ASP .Net 3 08-26-2003 04:22 AM



Advertisments