Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 643
  • Last Modified:

How to Fill Last Empty Space of Data List ?

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
dotsandcoms
Asked:
dotsandcoms
  • 2
1 Solution
 
Rahul Goel ITILSenior Consultant - DeloitteCommented:
You can use DataList_ItemDataBound event to fill that area and apply the css there


0
 
dotsandcomsAuthor Commented:
what code should i write in the event ? can you pls give me hint.
0
 
dotsandcomsAuthor Commented:
Hi,

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

Thank you for advice me.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now