G
Guest
The following code is copied from a GridView control.
Both the header text and the date are displayed in two rows.
What is the best way to display the whole data in a single row?
Should we specify width? if so, what is the syntax?
Thanks.
<asp:templatefield HeaderText="Created On" SortExpression="dte_cr_on">
<itemtemplate>
<asp:Label ID="gLabel_dte_cr_on" runat="server" Text='<%#
Bind("dte_cr_on") %>'> </asp:Label>
</itemtemplate>
<edititemtemplate>
<asp:Label ID="gLabel_dte_cr_on1" runat="server" Text='<%#
Bind("dte_cr_on") %>'> </asp:Label>
</edititemtemplate>
</asp:templatefield>
Both the header text and the date are displayed in two rows.
What is the best way to display the whole data in a single row?
Should we specify width? if so, what is the syntax?
Thanks.
<asp:templatefield HeaderText="Created On" SortExpression="dte_cr_on">
<itemtemplate>
<asp:Label ID="gLabel_dte_cr_on" runat="server" Text='<%#
Bind("dte_cr_on") %>'> </asp:Label>
</itemtemplate>
<edititemtemplate>
<asp:Label ID="gLabel_dte_cr_on1" runat="server" Text='<%#
Bind("dte_cr_on") %>'> </asp:Label>
</edititemtemplate>
</asp:templatefield>