c# - How does one bind to an indexed property? -
i'm trying bind property this:
public string this[string field] { { // todo: accessor code goes here } }
...to boundfield in gridview. similar can accomplished e.g. datatable (by binding column name) i'm stuck on how work own class. can help?
does work?
<textblock text="{binding [somecolumnname]}" />
c# asp.net data-binding indexer
No comments:
Post a Comment