如何将记录插入gridview [英] How to insert records into gridview
本文介绍了如何将记录插入gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
今天我的问题是如何在没有交互数据库的情况下静态地将记录添加到gridview中,在gridview中添加4-5条记录然后我想提交到数据库表。
我尝试过:
我有设计页面并尝试将值添加到gridview中。
Hi,
Today my question is that how to add records into gridview statically without interacting DB, after adding 4-5 records into gridview then I want to submit into database tables.
What I have tried:
I have design the page and trying to add values into the gridview.
推荐答案
我不确定我是否完全理解了你的问题,我猜我会建议你关注以下文章。如果它们不是你想要的,请告诉我更多细节,我会回复。
GridView Static Rows | ASP.NET论坛
c# - 如何向gridview添加静态行 - Stack Overflow
I am not sure if I have understood your question completely, from my guess I would suggest you to follow the below articles. if they are not what you are looking for, let me know more details I will revert back.
GridView Static Rows | The ASP.NET Forums
c# - How to add a static row to a gridview - Stack Overflow
这篇关于如何将记录插入gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文