On Jun 18, 4:03 am, waw... (AT) online (DOT) microsoft.com (Walter Wang [MSFT])
wrote:
Quote:
For a DropDownList, all you need to change in the demo code is to cast the
control returned from FindControl to a DropDownList and you should be able
to get the correct value selected the user currently.
Regards,
Walter Wang (waw... (AT) online (DOT) microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights. |
Or, if you are using a SqlDataSource, as long as the parameter in the
Update command is the same as the field name (ie State = @State), it
should work without any hassle. also make sure you have the
DataKeyName set in your grid (it should be the primary key).