This gridview shows values of table "productos" currently is displaying a button in all of the rows but i need to show a button only in the rows where the stock(Existencias) is higher than 0
<div>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"ConnectionString="<%$ ConnectionStrings:bodegahyhConnectionString %>" SelectCommand="SELECT * FROM [Productos]"></asp:SqlDataSource>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="IdProducto" DataSourceID="SqlDataSource1">
<Columns>
<asp:BoundField DataField="IdProducto" HeaderText="IdProducto" InsertVisible="False" ReadOnly="True" SortExpression="IdProducto" />
<asp:BoundField DataField="IdCiudad" HeaderText="IdCiudad" SortExpression="IdCiudad" />
<asp:BoundField DataField="IdTamano" HeaderText="IdTamano" SortExpression="IdTamano" />
<asp:BoundField DataField="IdFragilidad" HeaderText="IdFragilidad" SortExpression="IdFragilidad" />
<asp:BoundField DataField="IdMarca" HeaderText="IdMarca" SortExpression="IdMarca" />
<asp:BoundField DataField="IdUbicacion" HeaderText="IdUbicacion" SortExpression="IdUbicacion" />
<asp:BoundField DataField="IdProveedor" HeaderText="IdProveedor" SortExpression="IdProveedor" />
<asp:BoundField DataField="NomProducto" HeaderText="NomProducto" SortExpression="NomProducto" />
<asp:BoundField DataField="Descripcion" HeaderText="Descripcion" SortExpression="Descripcion" />
<asp:BoundField DataField="Existencias" HeaderText="Existencias" SortExpression="Existencias" />
<asp:BoundField DataField="PrecioVenta" HeaderText="PrecioVenta" SortExpression="PrecioVenta" />
<asp:BoundField DataField="PrecioCompra" HeaderText="PrecioCompra" SortExpression="PrecioCompra" />
<asp:TemplateField>
<ItemTemplate>
<asp:Button id="btn_agregar" runat="server" Text="Agregar" Enabled="true" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<br />
<br />
</div>