Click here to Skip to main content
15,890,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi
I have multiple labels in my web form and I want to binding label's Text to XML without code behind . I don't wnat do this with code behind!!


I wnat to binding expression multiple label's text to xml node like Eval.

Please help me.
Posted
Comments
ZurdoDev 4-Nov-13 8:51am    
Where are you stuck? You'll have to use an XmlDataSource, although I have never done it this way.
tree1371 4-Nov-13 11:00am    
I don't know how binding label's Text to xml nod. for examlpe :

Xml :
<user>
<name>Name

<school>
<name>Name


and id have two labels and i want to bind text of label 1 to name of user and text of label 2 bind to name of school . How do this ?
ZurdoDev 4-Nov-13 11:07am    
Look up how to do this with the XmlDataSource.
Sergey Alexandrovich Kryukov 4-Nov-13 10:14am    
Why without? Code behind of what? What is the application type? So far, the question makes no sense. You need to add essential detail.
—SA
tree1371 4-Nov-13 14:21pm    
because i have any labels in my page and i like use this in code design .no problem for use in code behind but i like use in code design

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900