PC Review


Reply
Thread Tools Rate Thread

DataList Display problem

 
 
beachboy
Guest
Posts: n/a
 
      13th Jul 2006
hello,

I have set "RepeatColumns" on myDataList = 5, if the reminder of itemdata is
not multiple of 5.. e.g: only have 3 items. then the display will break...
any method i can solive this and add empty columns if the output is less
than 5?

Thanks in advanced.


 
Reply With Quote
 
 
 
 
sloan
Guest
Posts: n/a
 
      14th Jul 2006

I don't think so.

You'd have to artificially add items to the source DataSource.

If its a DataSet, then add rows to the DataSet.Table

If its a Collection(Base), then you'll have to add items to it.



"beachboy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hello,
>
> I have set "RepeatColumns" on myDataList = 5, if the reminder of itemdata

is
> not multiple of 5.. e.g: only have 3 items. then the display will break...
> any method i can solive this and add empty columns if the output is less
> than 5?
>
> Thanks in advanced.
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Display DB Records in DataList? Arpan Microsoft ASP .NET 1 3rd Aug 2006 12:59 PM
DataList Display Problem beachboy Microsoft Dot NET 1 17th Jul 2006 06:31 AM
Databind DataList Display Problem =?Utf-8?B?bWtkMTkxOQ==?= Microsoft ASP .NET 0 16th Sep 2005 09:09 PM
Setting up a datalist control - Item_DataBound for a datalist in a datalist Nevyn Twyll Microsoft ASP .NET 8 9th Sep 2004 11:13 PM
Datalist Display problem Roberto López Microsoft ASP .NET 1 17th Aug 2003 06:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:52 AM.