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:
00954751
Views:
15
>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?

Nope, i mean panel not a tab control.

>
>When the user double-clicks on the grid, are you retrieving data from the same business object or a different one?
Same One - customers.

>If it's the same one, are you specifying a different TableName when you call GetDataSet (you probably should)?

The first query retuned is called tblSearch, the second one is called customers, the same name as the this.tablename property.

>In the text boxes' BindingSourceMember property you would need to specify the TableName.Field.

I will try that.

>
>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.

Thanks!

>
>Regards,

I was wondering if, all i needed was a refresh of the panle to get the controls to re-populate.

--> Shawn
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Previous
Reply
Map
View

Click here to load this message in the networking platform