Re: problem how to pass value from one procedure to another

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Dan wrote:
Protected Sub submit_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
'how to get the selectvalue here?

I think you need something like DirectCast(sender,
DropDownList).SelectedValue (and I hope you have Option Strict On at the top
of the script).

Andrew


.