向gridview添加新行 [英] Add new row to gridview

查看:104
本文介绍了向gridview添加新行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用gridview来显示和访问sql数据库并使用databinding。我也使用自动生成列作为一个gridview有多个来源和切换它们之间。

I'm using a gridview to display and access a sql database and using databinding. I'm also using autogenerate columns as one gridview has multiple sources and toggles between them. What would be the best way to allow the user to insert a new row?

列表视图会更好吗?

推荐答案

最简单的方法来添加一个detailsview,将其设置为gridview的数据源并完成。

Easiest way to to add a detailsview, set it to the datasource of the gridview and done.

这篇关于向gridview添加新行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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