如何添加动态生成的Gridview的一个特定列? [英] How do I add the one perticular column of Gridview which is dynamically generated ?

查看:95
本文介绍了如何添加动态生成的Gridview的一个特定列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想添加gridview列值,这些值将添加到数据库中,同时它将在gridview上显示
。如何使列总数为column3并同时检查

总计是否超过1,如果总计变为> = 1我必须停止动态地向gridview添加行。我怎么能得到这个?

I Wanted to add the gridview column values which are added to database at the same time it will
be displayed on gridview . how can make total of column say column3 and check at the same time
whether the total exceeds 1 , if total becomes >= 1 I have to stop adding row dynamically to the gridview. How can I achive this ?

推荐答案

http://www.dotnetfox.com/articles/create-dynamic-gridview-or-programmatically-create-Asp-Net-gridview-with -dynamic-boundfield-1083.aspx [ ^ ]



http://www.aspsnippets.com/Green/Articles/Dynamically-create- DataTable-and-bind-to-GridView-in-ASPNet.aspx [ ^ ]


这篇关于如何添加动态生成的Gridview的一个特定列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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