>I need the value of a field of a detailsview in DataBound event.
> i can find the fieldname with this:
[quoted text clipped - 19 lines]
> Thanks for help
> Chris
Hi, thanks for replying.
I ommit to mention that the fields are templatefields, like this:
<asp:TemplateField SortExpression="enqna">
<EditItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("enqna")
%>'></asp:Label>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1a" runat="server" Text='<%# Bind("enqna")
%>'></asp:Label>
</ItemTemplate>
<ItemStyle Font-Bold="True" Font-Size="Larger" HorizontalAlign=Center />
</asp:TemplateField>
So there is no 'label1a' load event (the value i'm interesting it).
Thanks
> you could get the value of the field by get the value of the corresponding
> label control value of the field.
[quoted text clipped - 25 lines]
>> Thanks for help
>> Chris
chenhong - 29 Jul 2007 14:48 GMT
this question is the same as your another question,
see the reply there.
"Chris" <gddfd@er.df> дÈëÏûÏ¢ÐÂÎÅ:ubBG3jb0HHA.4568@TK2MSFTNGP03.phx.gbl...
> Hi, thanks for replying.
> I ommit to mention that the fields are templatefields, like this:
[quoted text clipped - 41 lines]
>>> Thanks for help
>>> Chris
Chris - 29 Jul 2007 21:34 GMT
This has been solved.
Thanks for your help.
> this question is the same as your another question,
> see the reply there.
[quoted text clipped - 47 lines]
>>>> Thanks for help
>>>> Chris