gridview追加新行 [英] gridview append new row
问题描述
你很高兴,
帮助我
1.添加一些行到gridview。在加载页面的时候。
当加载时我形成了一些列禁用。
2.需要在按钮点击时将行排到gridview。
需要启用整行。
但对于我在rowdatabound中,我只能在gridview中获取所有数据。
=======================================
frends如果不明白,请参阅下文。
=================================== ======
加载时会话中只包含一个数据表,gridview某些字段被禁用。
这被添加到gridview中。
但是当我们点击某个按钮事件时,需要在会话中添加一个数据表。
最后需要从会话中添加2个数据表。
现在先给我打电话,一些列应该启用\ disable。
但是第二个表列不需要禁用\启用。
请你给我一些想法。
i尝试了更多。
请参阅以下链接,这可能对您有所帮助
http://www.aspsnippets.com/Articles/Adding-Dynamic-Rows-in-ASP.Net -GridView - 控制 - 与 - TextBoxes.aspx
Hi frends,
help me in
1.addedd some rows to gridview. while loading page.
while load i formated some columns disable.
2.need to appand rows rows to gridview while button click.
the entire row need enable.
but for me in rowdatabound , im getting all data in gridview enable only.
=======================================
frends if not understand above see below.
=========================================
while load there is session contains only one datatable ,gridview some fields was disbled.
this was added to gridview.
but when we click on some button event need t add one more datatable into session.
finally need to added 2 datatables from session.
now tel me first tables some columns should enable \disable.
but second table columns no need disable \ enable.
requesting you tel me some ideas.
i tried more.
See the following link which may help you lot
http://www.aspsnippets.com/Articles/Adding-Dynamic-Rows-in-ASP.Net-GridView-Control-with-TextBoxes.aspx
这篇关于gridview追加新行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!