![]() |
| ||
| How can I create an explicit instance of a class? Hi my program won’t let me create a session, application, or cache variable. It also won’t allow me to do this: Response.Redirect("default.aspx?question=1") Dim num As String = Request.QueryString("question") In all cases, I get the message: You cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class. My question is how can I create an explicit instance of one of these classes? Thanks for any help. |
| All times are GMT -4. The time now is 12:36 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC