Padding cells in the ASP.NET gridview control sets spaces between the information contained within the cell and the borders. This formatting is called “cell padding” and “cell spacing.” These two properties help programmers display data more professionally. Padding cells is accomplished using pixel settings in the gridview control. The gridview is programmed using typical HTML tags. Within these tags are properties, and these properties include cell padding and spacing configurations. Once you’ve added a gridview control to the web page, setting spaces between cells is accomplished by changing these properties. Writer Bio
