网格视图中的数据列表 [英] datalist in gridview

查看:70
本文介绍了网格视图中的数据列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在将数据保存到数据库后,如何不使用onitemcommand事件将数据列表中的值绑定到文本框?

How to bind values to textbox from datalist after saving data into the database, without using onitemcommand event

推荐答案

如果将数据列表嵌入到gridview中,则onitembound事件确实是最好的方法.您为什么不想使用一种使之成为可能的方法?您需要使用一些代码来解释您的原因.
If you embed a datalist in a gridview, then the onitembound event is really the best way to do it. Why don''t you want to use the one method that makes this possible ? You need to explain your reasons, with some code.


这篇关于网格视图中的数据列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆