Solved

How to Fill Last Empty Space of Data List ?

Posted on 2009-07-14
3
626 Views
Last Modified: 2012-05-07
Hello Experts,
I am filling Dataset with 3 colums in a row. I am facing a prmblem whenever there 1,2,4,5,7,8..  items in Datalist, there is an empty space remains. How to overcome this problem ? For more details please see the attached dotnet source files and images of proble.

Thanks in advance
viewAllIndustries.aspx.txt
viewAllIndustries.aspx.cs.txt
datalistproblem.JPG
datalistCurrenntImage.JPG
0
Comment
Question by:dotsandcoms
  • 2
3 Comments
 
LVL 9

Expert Comment

by:Rahul Goel ITIL
ID: 24847940
You can use DataList_ItemDataBound event to fill that area and apply the css there


0
 

Author Comment

by:dotsandcoms
ID: 24848535
what code should i write in the event ? can you pls give me hint.
0
 

Accepted Solution

by:
dotsandcoms earned 0 total points
ID: 24848834
Hi,

I have solved the problem by adding an extra row in datatable.

Thank you for advice me.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
asp Google Map 2 55
VS 2015 is giving [No relevant source lines] 2 38
ASP.NET MVC - Views 3 38
C# Formatting DateTime String Value 5 50
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question