Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Example of Combo Box Selection
Message
From
12/11/2004 09:50:15
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00951713
Message ID:
00960827
Views:
10
So.... What options for this problem do I have.

It seems as though the sticking point is that whatever control I use (cobmo box or grid), it is still bound to the same Business Object as my Properties Tab fields.

So, if I write code like the following in a value changed event handler of a grid or combo box then it correctly navigates but then when you return to the grid or combo box, the values (because they are bound to the same data set) are now ONLY showing the value previously selected:
Me.dsProcessingBatch = Me.oProcessingBatch.GetProcessingBatchByBatchId
(CInt(cboProcessingBatchSelection.Value.ToString))

Is there any implementation where my GetProcessingBatchSelection function of the MM.NET Business Object could be used as the source of the combo box or grid? Then, upon a value change in either type of control, could I write an event handler to synchronize the form's bound MM.NET Business Object dataset source so that all the forms controls would reflect the selection made?

If this sounds reasonable, could you assist with a quick example of how this could be implemented?
Otherwise, what other options would you suggest?

Many Thanks in Advance!!!
THANKS
Joe Salvatore, Programmer/Analyst - The Stellar Group
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform