Prev: How to modify the HTTP Header for a WebService in .NET 2.0(RFC2617)
Next: How to use javascript alert in asp.net with vb
From: .Net Sports on 29 Apr 2010 13:31 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
From: gerry on 29 Apr 2010 13:53
google "asp.net listview grouping" you'll get lots of doc and examples ".Net Sports" <ballz2wall(a)cox.net> wrote in message news:f64bfa8e-7ade-4602-860b-76477d393555(a)d39g2000yqa.googlegroups.com... >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 |