You should bind the column name and not the variable itself.
<asp:Label ID="Label3" runat = "server" Text=
'<%# DataBinder.Eval(Container.DataItem, "stockavailability")%>'>
</asp:Label>
And still, if you want to bind the variable,
int i = 5;
Label3.Text = "" + i;
-KR