0

Can some one help me to write this in asp? Is it possible?

<asp:TemplateField HeaderText="Release">
                <ItemTemplate>
                     <%# DataBinder.Eval(Container.DataItem, "Release" )%>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox runat="server" id="txtRelease" 
Text= '<%# if (bdirty) then DataBinder.Eval(Container.DataItem, "Release" ) 
                                 else GetDefaultRelease()%>'/>
</EditItemTemplate>
1
Contributor
1
Reply
2
Views
9 Years
Discussion Span
Last Post by menelaussa
0
Text=' <%# bdirty? GetDefaultMaxStay(): DataBinder.Eval(Container.DataItem, "MaxStay" ) %>'
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.