I have a CheckBoxList that I want to dataBind to an XElement. I got this
far:
CheckBoxLisgt.D ataSource =
StockContract.E lement("Glossar y").Elements("T erm");
CheckBoxList.Da taBind();
It works in the sense that I get the "Term" element text for each list item.
What I really want to do is to do something like this for an output:
Word: Definition
The Definition text is found in
StockContract.E lement("Glossar y").Elements("T erm") and Word text is found in
StockContract.E lement("Glossar y").Elements("T erm").Attribute s("Word"). How
do I do something like this? The other issue I would have is accessing the
actual elements and attributes in the StockContract based on what checkboxes
are checked. Any ideas?
far:
CheckBoxLisgt.D ataSource =
StockContract.E lement("Glossar y").Elements("T erm");
CheckBoxList.Da taBind();
It works in the sense that I get the "Term" element text for each list item.
What I really want to do is to do something like this for an output:
Word: Definition
The Definition text is found in
StockContract.E lement("Glossar y").Elements("T erm") and Word text is found in
StockContract.E lement("Glossar y").Elements("T erm").Attribute s("Word"). How
do I do something like this? The other issue I would have is accessing the
actual elements and attributes in the StockContract based on what checkboxes
are checked. Any ideas?