Hi
I fill daydropdown!
How get selected value from
<select id="daydropdown" style="width:40px"></select>
in C#?
string Day = this.Request.Form.Get("daydropdown"); Not work,return null
You need to add name property to HTML Select
<select id="daydropdown" name = "n_daydropdown" style="width:40px"></select>
Then in C#
string day = Request.Form["n_daydropdown"];
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.