How to add "label for" for gridview in c#

0 votes
51 views
asked Dec 19, 2015 in Programming by 'Sercan Demir (1,330 points)

look at the bleow

1 Answer

0 votes
answered Dec 19, 2015 by 'Sercan Demir (1,330 points)

<asp:GridView ID="grid1" AutoGenerateColumns="false" runat="server" CssClass="auto-style1" Width="531px">
            <columns>
                <asp:BoundField HeaderText="Category" DataField="category" />
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:CheckBox ID="cS"   runat="server"  Text="fdg" />
                    </ItemTemplate>                   
                </asp:TemplateField>
                <asp:TemplateField>
            <ItemTemplate>
                <asp:TextBox ID="min" runat="server" Text=""></asp:TextBox>
            </ItemTemplate>
        </asp:TemplateField>
                     <asp:TemplateField>
            <ItemTemplate>
                <asp:TextBox ID="max" runat="server" Text=""></asp:TextBox>
            </ItemTemplate>
        </asp:TemplateField>
                </columns>
          </asp:GridView>
        


Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.
...