I have this:
<ItemTemplate>
<asp:CheckBox ID="cbRemove" runat="server"
Visible='<%# (string)Eval("GroupDescription") != "Default" %>' />
</ItemTemplate>
Only problem is, it might not be ‘Default’. Is there a way I could call a function like GetDefaultName in my code behind that would get it from the database?
it will help you…
in your class file write function like below..
But i am not able to get why you pass this to Visible Property….?