Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmDropDownList got a bind
Message
De
02/05/2005 11:47:09
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
29/04/2005 12:22:22
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01009054
Message ID:
01010167
Vues:
28
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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform