Just getting started
I am just getting started messing with ASP 2.0, and am working on creating a
quick data entry web hooked to a SQL database.
I am using stored procedures to get and push data.
I am having a problem isolating individual fields in a FormView. I am
trying to manually add some values to a Dropdownlist in the EditMode of the
I have a serious of dropdownlists in the formview that are populated from
SqlDataSource objects, and the overall Formview is populated via a
SqlDataSource object as well. I need to be able to add a couple aditional
items to the list of items in the dropdownlists before the overall formview
I currently get an error like "DropDownBlah has a SelectedValue which is
Invalid because it does not exist in the list of items." I have not been
able to figure out where to grab a reference to the dropdown and add the
I have tried the following basic code, but it is not working.
If UnitDetailForm.CurrentMode = FormViewMode.Edit Then
AssigneeDropDownList.Items.Add(New ListItem("None", "None"))
Any tips would be appreaciated.
|All times are GMT. The time now is 11:13 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.