Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bind Data Question
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
00954556
Message ID:
00954727
Views:
14
Shawn,


>Any Ideas why after I get the data set and then switch to the textbox panel it doesn't show the returned data even though they are bound to it?


It sounds like you are doing two different data retrievals...the first to fill the grid with the limited DataSet with the PK, and a second when the user double-clicks on an item in the grid.

When you say "panel" to you mean a tab of a TabControl?

When the user double-clicks on the grid, are you retrieving data from the same business object or a different one? If it's the same one, are you specifying a different TableName when you call GetDataSet (you probably should)? In the text boxes' BindingSourceMember property you would need to specify the TableName.Field.

In any event if you still can't figure it out, to see what's going on you can set two breakpoints in mmTextBox at the Framework level:

1. In the mmTextBox.BindingSourceMember property...this is where the text box is registered as a listener to the business object

2. In the mmTextBox.StateChangeHandler() method...this is where the text box receives notification from the business object and binds to the business object's data.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform