Populating a LookUpEdit...


Author
Message
StarkMike
StarkMike
Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)
Group: Forum Members
Posts: 436, Visits: 944
I have a DevExpress LookUpEdit and i want to populate it once... when the form loads. I dont think I need anything fancy like creating a BO and then a BBS... But I'm not sure how to do this...



I have a SQL statement and in Visual Studio 2003 I knew that you could create an adapter that filled a dataset and then bound your combobox to the dataset... but I dont see data adapter's in 2005 and even if i did... is that the best way to do it?



Thanks
Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Mike,

You really shouldn't be creating adapters manually unless under very extreme circumstances....the framework provides you with all of the connection and access you need.  First of all, this is a basic feature that StrataFrame provides...list population.  You should be using the PopulationDataSourceSettings property and have it populate on the FormLoad.  You can find some more details in the help documentation or you can look at some of the samples that come with the framework.  Before I go into any more explanation I want to make sure that I haven't missed something in your post.

You are just wanting to populate a list or combo with some data that can be shown to the end-user and possibly bound to a field as well...correct?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search