In WebCombo, you can set initial WebCombo value from Server-side.
This topic will show you how to set initial value from Server-side in WebCombo.
To Set initial value from Server-side in WebCombo
- Bind WebCombo to AccessDataSource.
- Initiate WebCombo's Value in Page_Load server side event using WebCombo's Value property.
C# Copy Code WebCombo1.Value = "ANTON";
- Here is the result.
WebCombo.Value should be supplied with WebCombo DataValueField not DataTextField |