Hi Malek,
Get the distinct of city from EmployeeDetails table as ArrayList and return
the ArrayList to UI.
And in the Flex result Handler method:
[Bindable]private var arrayCollectionCity:ArrayCollection = new
ArrayCollection();
priavte function fnCityResultHandler(event:ResultEvent):void {
arrayCollectionCity:ArrayCollection = event.result as ArrayCollection;
}
<mx:ComboBox id="lstCity" labelField="city"
dataProvider="{arrayCollectionCity}" ></mx:ComboBox>
On Thu, May 20, 2010 at 8:55 AM, Malek S <[email protected]> wrote:
> Dear ALL,
> i am stuck up in problem and i urgently need your help.
>
> I have DB with few tables. amongh them one table EmployeeDetails cointains
> all th eday.
> I want to fetch employee city in dropdown.
>
> how to i do that?
>
> requst you to plz supply code snippet.
>
> thanks
> Malek S
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.