|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
search criteriaI am using dropdownlist control
I have entries like Aaa Bbb Ccc Ddd I am adding new record and I dont want to duplicate it....my record may be AAA or aaa or aAA or aaA How can I use Items.FindByText and search the case insensetive records for the dropdownlist control..... thanks Sounds like you'll have to iterate over the items manually and call ListItem.Value.ToLower()
and do the comparison that way. -Brock DevelopMentor http://staff.develop.com/ballen Show quoteHide quote > I am using dropdownlist control > > I have entries like > > Aaa > Bbb > Ccc > Ddd > I am adding new record and I dont want to duplicate it....my record > may be AAA or aaa or aAA or aaA > > How can I use Items.FindByText and search the case insensetive > records for the dropdownlist control..... > > thanks > Yep. thats what I am doing now...
It will be nice if FindByText function itself can do more .... Show quoteHide quote "Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message news:758127632520125145094288@msnews.microsoft.com... > Sounds like you'll have to iterate over the items manually and call > ListItem.Value.ToLower() and do the comparison that way. > > -Brock > DevelopMentor > http://staff.develop.com/ballen > > > >> I am using dropdownlist control >> >> I have entries like >> >> Aaa >> Bbb >> Ccc >> Ddd >> I am adding new record and I dont want to duplicate it....my record >> may be AAA or aaa or aAA or aaA >> >> How can I use Items.FindByText and search the case insensetive >> records for the dropdownlist control..... >> >> thanks >> > > >
Is this posible?
help~ populating dropdown list Radio Button when checked evaluates to true????? ASP.NET: MS Treeview loses data when posted to the server Dynamic load ascx control when DLL not in "/bin" web forms textbox sizing issues in Firefox Newbie to web side - prompt the user..... DataGrid help on Datagrid's SelectedIndexChanged event Book search how can we retrieve images |
|||||||||||||||||||||||