Click here to Skip to main content
12,405,088 members (68,263 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET2
<asp:datagrid id="dgrdTelnos" runat="server" Width="150px" BackColor="White" BorderStyle="None"
                                                            BorderWidth="1px" BorderColor="#CC9966" CellPadding="1" AutoGenerateColumns="False" PageSize="20">
                                                            <FooterStyle ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
                                                            <SelectedItemStyle Font-Bold="True" ForeColor="#663399" BackColor="#FFCC66"></SelectedItemStyle>
                                                            <ItemStyle ForeColor="#330099" BackColor="White"></ItemStyle>
                                                            <HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" BackColor="#990000"></HeaderStyle>
                                                            <Columns>
                                                                <asp:TemplateColumn Visible="False" HeaderText="Tel_Rec_Code" FooterText="Tel_Rec_Code">
                                                                    <HeaderStyle Width="5%"></HeaderStyle>
                                                                    <ItemTemplate>
                                                                        <asp:label id=lblTel_Rec_Code runat="server" CssClass="textbox" Text='<%# cstr(container.dataitem("Tel_Rec_Code") &amp; "") %>'>
                                                                        </asp:label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateColumn>
                                                                <asp:TemplateColumn HeaderText="Telephone No." FooterText="Telephone No.">
                                                                    <HeaderStyle Width="70%"></HeaderStyle>
                                                                    <ItemTemplate>
                                                                        <asp:label id=lblTelephone runat="server" CssClass="textbox" Text='<%# cstr(container.dataitem("Telephone") &amp; "") %>'>
Posted 25-Apr-13 23:24pm
aswinax898
Comments
ryanb31 26-Apr-13 7:40am
   
What works? What doesn't work? Should we just guess?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 26 Apr 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100