G
Guest
I have a routine that i only want to execute if a variable is set to Y. The
routine is getting some information on the screen then redirecting to a new
page.
How can i passed a variable to the Page.IsPostBack routine on the page_load
event?
this is what I'm trying to do/
sub page_load
if page.ispostback then
dim value as string = CType(Session("quesiton"), string)
if value = "Y" then
'execute my routine
else
'do my datagrid databinding, etc.
end if
end if
thanks
routine is getting some information on the screen then redirecting to a new
page.
How can i passed a variable to the Page.IsPostBack routine on the page_load
event?
this is what I'm trying to do/
sub page_load
if page.ispostback then
dim value as string = CType(Session("quesiton"), string)
if value = "Y" then
'execute my routine
else
'do my datagrid databinding, etc.
end if
end if
thanks