Solved

How to Fill Last Empty Space of Data List ?

Posted on 2009-07-14
3
625 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

792 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