Make the rows in Datagrid closer together

T

tshad

I have a datagrid that I am not showing any borders and gridlines.

But the rows are pretty far apart. Is there a way to get them closer
together? The DataGrid looks like:

<asp:DataGrid
Visible=true
AllowSorting="false"
AutoGenerateColumns="false"
CellPadding="0"
CellSpacing="0"
ID="DataGrid1"
runat="server"
BorderWidth="0"
ShowFooter="false"
ShowHeader="true"
GridLines="None"
Width="245px" Style="border-collapse:collapse;padding-left:2px">

Thanks,

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top