Hello,
I have an ASP.NET page that contains a gridview:
This gridview gets it data on the server-side from the .NET code:
I would like to right-align the list items on columns 4, 5 and 8. Any suggestions?
By the way, I'm targeting the 2.0 .NET framework using Visual Studio 2005.
Thanks,
Justin
I have an ASP.NET page that contains a gridview:
Code:
<asp:GridView ID="grdLogData" runat="server" BorderStyle="None" CellPadding="5" AllowPaging="True" GridLines="None"> <RowStyle HorizontalAlign="Left" /> <HeaderStyle Font-Bold="False" Font-Underline="True" HorizontalAlign="Left" CssClass="page-column-label" /> <EditRowStyle CssClass="lightrow" VerticalAlign="Top" /> <AlternatingRowStyle CssClass="darkrow" VerticalAlign="Top" /> </asp:GridView>
Code:
DBDataAdapter = New SqlDataAdapter(DBQuery, DBConnection) DBDataTable = New DataTable("VTSLog") DBDataAdapter.Fill(DBDataTable) grdLogData.DataSource = DBDataTable grdLogData.DataBind()
By the way, I'm targeting the 2.0 .NET framework using Visual Studio 2005.
Thanks,
Justin
Comment