使用vb.net将数据绑定到asp.net中的Gridview [英] bind data to Gridview in asp.net using vb.net

查看:208
本文介绍了使用vb.net将数据绑定到asp.net中的Gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

__ ID__ | __Product__ | __Price__ |

1 |三星|

2 |诺基亚|

3 | LG |



这是我的Gridview表,如何在gridview中显示我的数据这个模型。价格列可编辑

__ID__ | __Product__| __Price__|
1 | Samsung |
2 | Nokia |
3 | LG |

this my Gridview table , how to show my data this model in gridview. price Column Editable

推荐答案

您需要使用可编辑网格视图,您必须在asp.net中使用gridview的项目模板。

这里有一篇完整的文章供您参考: ASP.NET 2.0中的可编辑GridView [ ^ ]
You need to use Editable Gridview, you have to use item template of gridview in asp.net.
A complete article is here for your reference: Editable GridView in ASP.NET 2.0[^]


这篇关于使用vb.net将数据绑定到asp.net中的Gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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