Hi,
Do you know how to transfer parameters in a form in vb.net web application?
I can do it by defining a global variable in the module,but I want to define a variable with the scope is in one form not globally.I have tried defining a variable in the form like following:
'--------------------------------
Public Class ProductGroup
Inherits System.Web.UI.Page
Protected WithEvents ImageButton1 As System.Web.UI.WebControls.ImageButton
Protected WithEvents Label1 As System.Web.UI.WebControls.Label
Protected WithEvents ddForms As System.Web.UI.WebControls.DropDownList

public strTest as string
'-------------------------------------

But , after I set the value in one sub, I can't get the value of strTest in other sub.

Can you help me?

Thanks

wu7up