从gridview选择数据 [英] in selecting data from gridview

查看:84
本文介绍了从gridview选择数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我转到gridview的另一页时,这是我的问题.如果选择另一个页面,则应该在详细信息视图中看到的详细信息现在为空白,但是如果在运行项目时选择了它,则将在detailview中看到详细信息.

我该怎么办?

There is this problem of mine when I turn to another page of the gridview. If I select another page the details that are supposed to be seen in the detail view are now blank, but if I select it as I run the project, the details in the detailview are seen.

What am i suppose to do?

推荐答案

卡斯,

我不确定我是否真的理解您的问题,但是我是这样解释的:

假设:
当您在网格视图中进行分页(向前或向后)时,详细信息视图不会更新.

在gridview中选择一个条目时,将正确填充详细信息视图.

在向前或向后分页之后,以编程方式在选定的gridview中创建一个条目可能会有所帮助.

干杯

曼弗雷德(Manfred)
Hi Kass,

I''m not sure if I really understood your question, but I interpret it this way:

Assumptions:
When you''re paging (forward or backward) in your gridview the detail view is not updated.

When you select an entry in the gridview the detail view is populated correctly.

Maybe it would help to programatically make an entry in the gridview selected after paging forward or backward.

Cheers

Manfred


这篇关于从gridview选择数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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