问题描述
您好,
我有一个Gridview控件(.net 2.0),我无法获取
更新按钮来触发任何类型的事件或预成型更新。
数据表基于一个连接,所以我不知道这是什么导致了
的行为。似乎更新按钮至少应该是
。
单击编辑按钮时,网格进入编辑模式并取消
按钮使网格退出编辑模式。所以,我没有得到诀窍
这里。
我已启用通过FooterRow添加记录。
我使用联接的原因是允许在联接字段中进行排序。我知道我可以放弃连接,添加一个模板字段然后
在RowDataBound期间填充它但是那个排序不会工作......
有什么想法吗?
谢谢
SAL
取消
取消
< e5 ************** @ TK2MSFTNGHUB02.phx.gbl>
事件
到
a
或
输入
Hello,
I have a Gridview control (.net 2.0) that I''m having trouble getting the
Update button to fire any kind of event or preforming the update. The
datatable is based on a join so I don''t know if that''s what''s causing the
behavior or not. It seems like the Update button should at least do
something.
When the Edit button is clicked, the grid goes into Edit mode and the Cancel
button takes the grid out of Edit mode. So, I don''t get what the trick is
here.
I''ve enabled adding records via the FooterRow.
The reason I''m using a join is to allow sorting on the joined in field. I
know that I could drop kick the join, add in a template field and then
populate it during RowDataBound but then the sort won''t work...
Any ideas?
Thanks
SAL
Cancel
Cancel
<e5**************@TK2MSFTNGHUB02.phx.gbl>
event
to
a
or
entered
这篇关于GridView更新问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!