469,325 Members | 1,629 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,325 developers. It's quick & easy.

Accessing Ignored Class Properties during ItemDataBound

TB
(re-wording a previous post.. this makes much more sense, sorry for any
duplication)

First off, I've got three classes:

Class MyItem
Public PropertyOne As String
Public PropertyTwo As String
Public PropertyThree As String
Public ItemError As MyItemError
End Class

Class MyItemError
Public ID As Int32
Public Description As String
End Class

Class MyItemCollection
Inherits ArrayList
End Class

I'm populating a MyItemCollection with several instances of the MyItem
class, and then binding MyItemCollection to a data grid. I'm creating
templated columns and only displaying PropertyOne and PropertyTwo from each
MyItem.

Is it possible to access the other properties of this class (i.e.
PropertyThree or ItemError.ID) from within the ItemDataBound event of the
DataGrid??

TIA - TB
Oct 5 '05 #1
0 1026

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by spalding | last post: by
5 posts views Thread by Cyril Gupta | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.