locked
Cashe Question RRS feed

  • Question

  • User-1883840764 posted
    I've been experimenting with Cache and I have a problem with it in the global.asax. Anytime I type for example CachedData.getProductRow I get a squiggly line under CachedData. What I'm I not importing? Below is a sample of the code: Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs) Dim intCategory As Integer = -1 Dim intProductID As Integer = -1 Dim objProductInfo As DataRowView If Request.QueryString("cat") <> "" Then intCategory = Request.QueryString("cat") End If Context.Items("Category") = intCategory If Request.QueryString("pid") <> "" Then intProductID = Request.QueryString("pid") objProductInfo = cachedData.getproductRow(intProductID) Context.Items("ProducttInfo") = objProductInfo Context.Items("ProductName") = objProductInfo("ProductName") Context.Items("UnitPrice") = objProductInfo("UnitPrice") End If
    Tuesday, November 18, 2003 12:07 PM

All replies

  • User133347627 posted
    what do you mean by "squiggly line under CachedData.", can you be more specific?
    Thursday, December 18, 2003 11:21 AM