Good morning,
I have two tables, the first is called [dettaglioMateriale]
the second is called [fuoriUso] 
in the first table I have a checkbox in the "Dismesso" column. I would like this Checkbox to be checked when this condition occurs:
this is the checkbox in the gridview:
<asp:TemplateField HeaderText="FU" SortExpression="Dismesso">
<ItemTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Bind("Dismesso") %>' Enabled="false" />
</ItemTemplate>
</asp:TemplateField>
I use vb.net, thanks in advance to those who can advise me.