title: how to make grid-view label visible false
body: <p>hear i am post the my grid view.
  
                      </p>
  
  <pre><code>                &lt;Columns&gt;
                      &lt;asp:TemplateField HeaderText="Item"&gt;
                              &lt;ItemTemplate&gt;
                                  &lt;p&gt; &lt;asp:Label ID="lblproductname"  display="Dynamic" runat="server" Text='&lt;%# Bind("productname") %&gt;'&gt;&lt;/asp:Label&gt;&lt;/p&gt;
                                  &lt;p&gt;&lt;asp:Label ID="lblProductWeight" display="Dynamic" runat="server" Text='&lt;%# Bind("groupvalue") %&gt;'&gt;&lt;/asp:Label&gt;&lt;/p&gt; 
                                   &lt;p&gt; &lt;asp:Label ID="lblProductType" display="Dynamic" runat="server" Text='&lt;%# Bind("groupname") %&gt;'&gt;&lt;/asp:Label&gt;&lt;/p&gt; 
                              &lt;/ItemTemplate&gt;
                              &lt;HeaderStyle HorizontalAlign="Left" /&gt;
                              &lt;ItemStyle HorizontalAlign="Left" /&gt;
                          &lt;/asp:TemplateField&gt;
                      &lt;asp:BoundField DataField="Quantity" HeaderText="Qty"&gt;
                          &lt;HeaderStyle HorizontalAlign="Left" /&gt;
                      &lt;/asp:BoundField&gt;
                      &lt;asp:BoundField DataField="Price" HeaderText="Price"&gt;
                          &lt;HeaderStyle HorizontalAlign="Left" /&gt;
                      &lt;/asp:BoundField&gt;
                      &lt;asp:BoundField DataField="SubTotal" HeaderText="Sub Total"&gt;
                                  &lt;HeaderStyle HorizontalAlign="Left" /&gt;
                              &lt;/asp:BoundField&gt;
                  &lt;/Columns&gt;
                  &lt;FooterStyle CssClass="datatable" /&gt;
              &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>so how to make the visible false ItemTemplate of lables programaticaly in xyz method</p>