aspx thread: Passing variables
Hi All,
Does anyone know how to pass varables using command arguments?
Is it like this:-
Sub Dis_Click( sender As Object, e As CommandEventArgs )
Dim Model
Dim substyle
substyle = e.CommandArgument
Model = Request.QueryString("Model")
Response.Redirect( ("Display.aspx?Model=" ) & Model & "&cat=" &
e.CommandName & "&Style=" & substyle)
End Sub
<ASP:LinkButton
OnCommand="Dis_Click"
CommandArgument="Exterior"
Text="Exterior"
CommandName="Exterior"
Runat="Server" />
Thanks in advance...
Simon.
|





