带有空数据源的Gridview [英] Gridview with Empty datasource

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

问题描述

任何人都可以帮我..

我需要显示一个带有空数据源的girdview.

在第一个记录的位置显示无项目"信息.

带有文本框的页脚可将记录插入到gridview中.

Hi can any one help me..

I need to disply a girdview with empty datasource .

and with messege "No Items" in the position of first record.

footer with textboxs to insert the record into gridview.

推荐答案

非常简单.
只需设置gridview的空数据模板即可.

例如,

EmptyDataTemplate

没有行

/EmptyDataTemplate

关于
Keyur Satyadev
it is very easy.
just set the empty data template of gridview.

for eg.

EmptyDataTemplate

No Rows

/EmptyDataTemplate

Regards
Keyur Satyadev


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

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