Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmDropDownList got a bind
Message
From
02/05/2005 11:47:09
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01009054
Message ID:
01010167
Views:
27
Well, Glenn...

I'm officially stumped. This sort of thing "just works" for us. Now, I know that doesn't help... so let me suggest something that *should* help

Add a breakpoint at the top of this method in the mmWebBindingStrategyList object (it's in mmBindingStrategy.cs of the Web Forms solution):
public static void BindData(ImmWebBindingList mmControl, mmBusinessObject bizObj, 
			bool bindBack, mmBusinessStateChangeEventArgs e)
Pay attention to the logic paths the code takes, especially the part where it gets the bindingsource information and where it decides whether to use a view or a datatable. Hopefully, there will be a "eureka!" moment.

---J

>It is invariably displaying the first item in the list. The source DS for this control is derived from a stored procedure on the SQL Server as follows.
>
>' Returns a DataSet containing ONLY UNIQUE STATES
>Public Function GetAllStates() As DataSet
>  'Stored procdure has replaced this select statement
>  'Return Me.GetDataSet("SELECT distinct state FROM Zipcodes order by state")
>  Return Me.GetDataSet("GetAllStates", CommandType.StoredProcedure)
>End Function
>
>
>Thanks
>>Glenn,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform