如何在Asp.Net DataList中绑定标签文本值? [英] How to bind label text value in Asp.Net DataList?
本文介绍了如何在Asp.Net DataList中绑定标签文本值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在asp.net中绑定收据。我在这里使用DataList,在ItemTemplate中我添加了许多标签来将文本值绑定到其中。我的问题是如何将值绑定到代码后面的标签中?
解决方案
推荐这里
使用DataList控件 [ ^ ]
使用DataList显示数据 [ ^ ]
I want to bind a receipt in asp.net. I'm using DataList here, in that inside ItemTemplate I added many labels to bind text value into that. My question is how can I bind values into labels from code behind?
解决方案
Refer Here
Working with the DataList Control[^]
Displaying Data with the DataList [^]
这篇关于如何在Asp.Net DataList中绑定标签文本值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文