in my application i want to bind the data to a div, which is in a datalist so how can i bind the value .thank you
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use a
Panelthat contains aLiteralcontrol. ThePanelwill render as adivand theLiteralcontrol renders as text. You will data bind to theLiteralcontrol’sTextproperty. This will give you what you want. Adivthat contains text for each item displayed in aDataListcontrol.Be creative in combining controls to give you the layout, format, data-binding, and so on that you need. If it gets too complex, create a user-control