N
Nathan Sokalski
I am trying to access the DataItem of other DataListItems in a DataList of
mine from within the ItemDataBound. The code I am currently using is:
CStr(CType(Me.datMain.Items(e.Item.ItemIndex - 1).DataItem,
DataRowView).Row("id"))
However, this gives me an error stating that the object cannot be found.
What am I doing wrong? Thanks.
mine from within the ItemDataBound. The code I am currently using is:
CStr(CType(Me.datMain.Items(e.Item.ItemIndex - 1).DataItem,
DataRowView).Row("id"))
However, this gives me an error stating that the object cannot be found.
What am I doing wrong? Thanks.