....asp:SqlDataSource
SelectCommand="SELECT userid, status FROM aspnet_Users, UserData WHERE userid = userdataid AND Len(userid ) > 2 "
UpdateCommand="UPDATE UserData SET status = @status WHERE userid = @userid ">
<UpdateParameters>
<asparameter Name="userid " Type="String" />
</UpdateParameters>
The list of options is not drawn from the database. The list is a fixed set of choices and the selected value is matched to that
retrieved from the database.
I'm getting the correct outcome and everything works as expected except there are those strange items added to my fixed list of
options in the DDL. I have no idea what is causing them to appear....
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.