Showing posts with label set default value for ddl. Show all posts
Showing posts with label set default value for ddl. Show all posts

Thursday, December 27, 2012

Set DropDownList Value from Codebehind

To set value of dropdownlist (assuming you have the list populated), do following:

DropDownList1.SelectedValue = "your item value"