百分比栏以显示数据 [英] percentage bar to show the data

查看:102
本文介绍了百分比栏以显示数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须像显示标签一样显示条形,应该根据网格标签数据对其进行相应的填充,这意味着我从数据库中获取了60%的值,而在gridview中显示时,它应该显示为填充60%的条形图.可以使用任何ajax控件或实现该功能的任何控件.我对此没有任何办法.如果有任何想法请帮助.预先感谢.

I have to show the bar like a label which should be filled accordingly on the basis of grid label data, that means I am getting a value as 60% from database & while I am showing it in gridview it should be shown like a bar which is 60% filled.Is tehre any ajax control or whatever it is to achieve this functionality. I am not getting any way for this. Please help if any1 has the idea about it. Thanx in advance.

推荐答案

没有这样的控件.您可以自己设计一个.这将是一个简单的table/div/span,您可以将其分为10个部分,然后根据数据进行填充.
No there is no control as such. You can design one for yourself. It would be a simple table/div/span where you can divide it into lets say 10 parts and fill it according to the data.


是的,但是它包含在gridview中,怎么可能我将其绑定到模板或绑定的字段中吗?
Yes but it is contained into a gridview & how could I bind that into template or bound fields?


这篇关于百分比栏以显示数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆