Latest members | More ...
im using a DataGrid and i kept "Auto" for DataGridTextColumn but 2nd column data is very near to 3rd column data.. it seems like both are combined....so i would like to give some padding 10px right to columns... so that some difference will be there between each columns ... can anyone help me ?
Issac, if this helps please login to Mark As Answer. | Reply | Alert Moderator
<head runat="server"> <title></title> <style type="text/css"> TABLE.tabulardata TD { PADDING:4px; } </style> </head> <body> <form id="form1" runat="server"> <div> <asp:GridView ID="GridView1" runat="server" CssClass="tabulardata"> </asp:GridView> </div> </form> </body> </html>
Write New Post | More ...