gridview with static和dynmamic column [英] gridview with static and dynmamic column
本文介绍了gridview with static和dynmamic column的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的代码中使用gridview,
我想静态显示一些列(每次运行我的程序时都是共同的)
我需要根据我在网页上选择的选项(即动态)将更多列附加到现有gridview
我希望根据显示的数据更新Serial No's。
任何人都可以帮我这个吗?
谢谢。
I am using a gridview in my code,
I wanted to display some columns Statically(in common everytime I run my program)
and i need to append some more columns to the existing gridview based on the selection i choose in the webpage(i.e., dynamically)
And I want Serial No's to be updated based on the data that is displayed.
Can Any one Help me with this?
Thank You.
推荐答案
hi ..
这里有一些可能有助于您解决问题的链接
动态列添加到GridView
http://www.c-sharpcorner.com/uploadfile/Shawpnendu/dynamically-creat ing-bound-and-template-columns-in-gridview-using-Asp-Net /
http://www.dotnetfunda.com/articles/article1400-how-to- generate-gridview-columns-dynamic-based-on-user-selection.aspx
Happy Coding :):)
hi..
here are some links that may help you to resolve your problem
Dynamic columns addition to GridView
http://www.c-sharpcorner.com/uploadfile/Shawpnendu/dynamically-creating-bound-and-template-columns-in-gridview-using-Asp-Net/
http://www.dotnetfunda.com/articles/article1400-how-to-generate-gridview-columns-dynamically-based-on-user-selection.aspx
Happy Coding :) :)
这篇关于gridview with static和dynmamic column的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文