Access shared members through an instance..
Hello I'm fairly new programming in asp.net.. My question is I have a datagrid that displays some data, and when I click on one item its supposed to show the description of the particular item that I selected in a datalist... but I get the warning: Warning 3 Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
and my code is the following:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim categoryId As String = 4 ' category has distinct top of the table 'Request.Params("CategoryID")
Dim identifierId As Integer = 0 'Request.Params("IdentifierID")
Dim productCataloge As Printek.Product
ProductList.DataSource = productCataloge.PageList(categoryId, identifierId)
ProductList.DataBind()
End Sub
when i click on an item : strProductList.aspx?CategoryID=3&identifierId=3, that is fine, what it does not display what I have on the datalist..
can someone give a clue on how can I make this work??
thanx
:)
|