you could easily return from sql
select pcode, case when pcode=0 then 'boy' else when pcode=1 then
'girl' else 'others' end [sex] ..............
the set datatextfield to 'sex'
> I have a DropDownList in a DetailView like so
> <asp:TemplateField HeaderText="PCode">
[quoted text clipped - 25 lines]
> Sure a function that returns a Datasource should be able to do it
> But is there anyway i can do it in my aspx page?
rote - 02 Mar 2008 22:52 GMT
Nick i know about that but i would be interested if they are other ways to
do it.
you could easily return from sql
select pcode, case when pcode=0 then 'boy' else when pcode=1 then
'girl' else 'others' end [sex] ..............
the set datatextfield to 'sex'
On Feb 29, 2:37 pm, "rote" <naijaco...@hotmail.com> wrote:
> I have a DropDownList in a DetailView like so
> <asp:TemplateField HeaderText="PCode">
[quoted text clipped - 25 lines]
> Sure a function that returns a Datasource should be able to do it
> But is there anyway i can do it in my aspx page?