Hallo,
ich habe eine aspx-seite mit einem Label
<asp:Label id="Label2" style="Z-INDEX: 102; LEFT: 330px; POSITION: absolute; TOP:
138px" runat="server" Font-Bold="<%# CheckValue(1) %>">
Hallo Welt
</asp:Label>
sowie die Funktion CheckValue
public bool CheckValue(int zahl)
{
if (zahl == 1)
return true;
else
return false;
}
Warum wird aber Font-Bold niemals True?
Gruss
Alex
| [dotnetdecsharp] als archive@jab.org subscribed
| http://www.dotnetgerman.com/archiv/dotnetdecsharp/ = Listenarchiv
| Listenregeln, sowie An- und Abmeldung zu dieser Liste:
| http://www.dotnetgerman.com/listen/dotnetdecsharp.asp