如何刷新Gridview中的标签? [英] How to refresh a label within a Gridview?

查看:70
本文介绍了如何刷新Gridview中的标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道在没有整个GridView刷新的情况下如何更新GridView中存在的标签?我是初学者,所以请在解释中加入一些代码。有人告诉我我需要Jquery和Json,我不知道如何使用它们。

I want to know how can one update a label present inside a GridView without having the entire GridView refresh? I am a beginner so please include some code in your explanation as well. Some one told me i need Jquery and Json, i have no idea how to use those.

推荐答案

Dim lbl As Label = CType(gvView.FindControl("Label Name"), Label)
lbl.Text = "Updated Text"


这篇关于如何刷新Gridview中的标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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