如何加载带有可编辑网格视图的页面数据? [英] how to load page with editable grid view with it's data?
本文介绍了如何加载带有可编辑网格视图的页面数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
真的,我认为这很复杂,我希望这不是我的目标,但这个Windows应用程序
图像
我有A按钮来浏览保存在图片文件夹,我想用户文件夹我的网页加载选择图像时,在编辑模式,并显示图像出现agridview我从文件夹的用户加载可以改变每行(每个图像)的数据,然后点击保存按钮保存所有图像数据在数据库中,我不知道该怎么办?有人可以帮助我吗?plz
really i think it is very complicated i hope it is not my goal like this but this windows app
Image
i have abutton to browse an images folder i want user when choose image folder my page load and appear agridview in editable mode and show images data i loaded from folder user can change every row(every image) data and click save button to save all images in database i don not know how can i do this can anybody help me plz
推荐答案
,因为您必须使用网格视图的RowEditing事件...
for that u have to use RowEditing event of grid view...
protected void grdContact_RowEditing(object sender, GridViewEditEventArgs e)
{
grdContact.EditIndex = e.NewEditIndex;
FillGrid();
}
这篇关于如何加载带有可编辑网格视图的页面数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文