Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmDropDownList got a bind
Message
De
29/04/2005 12:22:22
 
 
À
29/04/2005 10:14:17
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
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:
01009704
Vues:
16
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,
>
>When you say it doesn't display the correct value, what value is it displaying? Anything at all on the first page load? Maybe the last saved value on the subsequent load? That might help us figure out what's happening.
>
>---J
>
>>Kevin,
>>
>>After setting the value and saving, I have verified the correct "return" binding of the control's value. On subsequent executions of the application with same data the control does not initially bind to the value for display f the current value. This is confirmed.
>>
>>Glenn
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform