|
-
Oct 26th, 2004, 04:49 AM
#1
Thread Starter
New Member
How to share ASCX.VB variable with ASP.VB
Hi All,
I am developing a application with Web user Control ASCX.VB.
In the ASCX.VB, I have a public variable called UserName, so in myApp.aspx.vb, I have to declare UserName and assign it with myUC.UserName.
Can anybody know have any settings let me directly use UserName (NOT myUC.UserName)? Thanks in advance.
myApp.aspx.vb
Dim myUC As myFunctions = New myFunctions
Dim UserName=myUC.UserName
myFunc.ascx.vb
Public UserName
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|