Ask a Question related to ASP.NET General, Design and Development.
-
Anthony C #1
AppState Object is Blank
I'm setting a couple of appstate objects with the
following code... when I go to access them later, i'm not
getting any data.. please help
CODE IN GLOBAL.ASAX:
================================================== ======
Sub Application_Start(ByVal sender As Object, ByVal e As
EventArgs)
' Fires when the application is started
Dim aImpactUniverseArray() As ftImpactOutRecord
Dim hImpactUniverseHash As Hashtable = New
Hashtable()
Dim lCount As Long
ReDim aImpactUniverseArray(0)
' Read in Universe & Universe Hashtable
lCount = ReadftImpact(aImpactUniverseArray,
hImpactUniverseHash)
Application("ftImpactUniverse") =
aImpactUniverseArray ' Structure
Application("ftImpactUniverseHash") =
hImpactUniverseHash ' Hashtable
' Read in pricing & hash
End Sub
CODE IN ASPX PAGE ACCESSING AT RUNTIME:
================================================== =======
Private Sub Page_Load(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles MyBase.Load
'/ Get Impact Universe
ftImpUniverse = Application("ftImpactUniverse")
hImpHash = Application("ftImpactUniverseHash")
End Sub
Anthony C Guest
-
about:blank - flash popup is blank
When going to yahoo maps (the new version that runs on flash9), when clicking on "printable version" I get a blank page that pops up with... -
Dynamically loading user control into Placeholder gives Object reference not set to an instance of an object
I've created user controls that contain listboxes that are dynamically populated from the database. In the html view of the user control... -
Custom Control Problem :: Object reference not set to an instance of an object
Hi All! I have the following Custom Control file... '########### WebUserControl1.ascx ############# <%@ Control Language="vb"... -
Cannot serialize object of type System.Object[,]. Multidimensional arrays are not supported
Hi, I get this on server when trying to retun a 2 dim array. I apprecaite that they are not supported as per... -
creating a blend, object panel is blank
Okay so I created a blend, now I want to manipulate it, so I open the object panel But my object panel is blank, even when I select my blend... -
Anthony C #2
AppState Object is Blank
Never Mind - internal bug
not>-----Original Message-----
>I'm setting a couple of appstate objects with the
>following code... when I go to access them later, i'mByVal>getting any data.. please help
>
>CODE IN GLOBAL.ASAX:
>================================================= =======
>Sub Application_Start(ByVal sender As Object, ByVal e As
>EventArgs)
> ' Fires when the application is started
> Dim aImpactUniverseArray() As ftImpactOutRecord
> Dim hImpactUniverseHash As Hashtable = New
>Hashtable()
> Dim lCount As Long
>
> ReDim aImpactUniverseArray(0)
> ' Read in Universe & Universe Hashtable
> lCount = ReadftImpact(aImpactUniverseArray,
>hImpactUniverseHash)
> Application("ftImpactUniverse") =
>aImpactUniverseArray ' Structure
> Application("ftImpactUniverseHash") =
>hImpactUniverseHash ' Hashtable
> ' Read in pricing & hash
> End Sub
>
>CODE IN ASPX PAGE ACCESSING AT RUNTIME:
>================================================= ========
>
>Private Sub Page_Load(ByVal sender As System.Object,>e As System.EventArgs) Handles MyBase.Load
> '/ Get Impact Universe
> ftImpUniverse = Application("ftImpactUniverse")
> hImpHash = Application("ftImpactUniverseHash")
>End Sub
>.
>Anthony C Guest



Reply With Quote

