• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 458
  • Last Modified:

ASP.net GridView better spacing


I dynamically add a GridView to my ASP.net web page and then populate it with a variety of data.
One example is shown in the image below. What VB.net code can I use to ensure better spacing of any data?

Murray Brown
Murray Brown
2 Solutions
What do you mean by "better spacing of any data" ?

Is it that if you want to have more space among data and rows-columns ?
If yes then you can use CSS for this OR just set cellpadding and cellspacing for rendered inner table.

Hope this will helps you.
I may not understand well with you "better spacing". But, I conceive that something like the .NET UI Gridview would be helpful to your trouble. Anyway, some tutorial for .NET Gridview you'd better read first and get familiar with its funtions and properties.
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks for the help
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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