If you just want a dropdown, consider the server controls rather than HTML
controls and then set selected value to the key value you wish. I can look
at the HTML control and probably guide there, but the server controls are
fairly straightforward.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"j.t.w" <j.***@juno.comwrote in message
news:a9**********************************@q78g2000 hsh.googlegroups.com...
This is probably very easy.
How do I set an HTML select control's value from the querystring?
This is what I have...but, only the select control's value doesn't get
set.
CustomerSelect.Value = Request.QueryString("cus")
StartDate.Text = Request.QueryString("Sdate")
This works...
StartDate.Text = Request.QueryString("cus")
Thanks,
j.t.w