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>