StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
Populating a LookUpEdit...
Populating a LookUpEdit...
Post Reply
Like
1
Populating a LookUpEdit...
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
StarkMike
StarkMike
posted 19 Years Ago
ANSWER
Topic Details
Share Topic
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
Like
1
Replies
StarkMike
StarkMike
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 436,
Visits: 944
Yes I have populated combos and listviews using PopulationDataSourceSettings... I guess I misunderstood business objects a little. I assumed that you only created a BO for data that you would want to manipulate (add, edit, delete). I was under the assumption that creating a BO merely to populate a control was kind of a kludge and involved too much overhead.
But thanks for your input, i will use this method from now on.
Reply
Like
1
Trent Taylor
Trent Taylor
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
Sorry for any misunderstanding...business objects themselves are just a class and are actually very light-weight...at any rate, glad you are going
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Populating a LookUpEdit...
StarkMike
-
19 Years Ago
Mike, You really shouldn't be creating adapters manually unless under...
Trent L. Taylor
-
19 Years Ago
Right. All I want to be able to do is fill a combo box once... when...
StarkMike
-
19 Years Ago
You don't have to use a BBS or drop a BO on the form. Have you ever...
Trent L. Taylor
-
19 Years Ago
Yes I have populated combos and listviews using...
StarkMike
-
19 Years Ago
Sorry for any misunderstanding...business objects themselves are just...
Trent L. Taylor
-
19 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search