如何使用asp.net在textbox.text中提供的内容动态创建网格视图 [英] how to create grid veiw dynamically in asp.net using what am giving in side the textbox.text
本文介绍了如何使用asp.net在textbox.text中提供的内容动态创建网格视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用asp.net中提供的textbox.text动态创建网格视图
给我答案请
谢谢
pavan
how to create grid veiw dynamically in asp.net using what am giving in side the textbox.text
give me answers pls
thanks
pavan
推荐答案
您的问题不清楚..希望以下内容对您有所帮助.
如果您想动态创建一个gridview,您可以在页面上放置一个占位符.在您的活动中,您需要创建一个如下所示的gridview.
Your question is not clear.. hope the below one helps you.
If you wanted to create a gridview dynamically, u can have placeholder on your page. In your event you need to create a gridview like below.
Dim grdView as GridView
grdView.DataSource = loDT ''(your datasource)
grdView.Databind()
plceHolder.Controls.Add(grdView).
这篇关于如何使用asp.net在textbox.text中提供的内容动态创建网格视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文