Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmDropDownList got a bind
Message
From
29/04/2005 12:22:22
 
 
To
29/04/2005 10:14:17
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:
01009704
Views:
18
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
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform