User283571144 posted
Hi shtrudel,
Any idea what is the problem here ?
As far as I know, 'DDL.SelectedValue''s type is string.
More details, you could refer to follow link:
https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listcontrol.selectedvalue(v=vs.110).aspx
[BindableAttribute(true, BindingDirection.TwoWay)]
[BrowsableAttribute(false)]
[ThemeableAttribute(false)]
public virtual string SelectedValue { get; set; }
So you could not set this value to a parameter which type is 'int'.
I suggest you could use follow code:
e.Values["floatField"] = Convert.ToInt16(DDL.SelectedValue);
Best Regards,
Brando