处理具有大量数据字段的gridview的显示 [英] handling the display of gridview having lots of datafields

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

问题描述

我必须为自己的工作管理一个网格专家.我在上面放了编辑和删除功能.


问题是我的数据库表中有很多数据字段..即姓名,邮政编码,邮政编码,电话号码,国家/地区,名字,姓氏,电子邮件,移动电话号码.


如果我将其显示到gridview.它看起来不舒服..并且网格超出了页面.

谁能告诉我我可以正确显示的方式.使其看起来不错,并且可读性也更好.

i have to manage a gridveiw for their proper . i put edit and delete functionility on it.


the problem is that my table in the database have lots of datafields..i.e name adress , postal code, zipcode , phone no, country,first name , lastname, email, mobile no..


if i display it to gridview. it wolud not look good.. and the grid goes out of the page.

can anyone tell me the way that i can display it properly. so that it look good and its readibility becomes good

推荐答案

尝试在如下所示的网格中显示数据
名称(名字+姓氏)|
电邮|
ContactNo(isnull(手机,电话号码))|
地址(地址+街道+城市+州+国家/地区+邮政编码)|
try to display data in grid like below
Name (FirstName+LastName)|
E-Mail |
ContactNo (isnull(Mobile,PhoneNo)) |
Address (Address+Street+City+State+Country+Zip) |


您好,

只是忽略一些字段,请选择重要字段,例如姓名和电子邮件.
忽略地址.

做一些有效的工作,如..
当用户将鼠标悬停到用户行时,仅在弹出窗口中显示用户地址.

最好的
Hi,

just ignore some fields select important fields like name and email.
ignore address.

make some effective work like..
when user mouseover to user row just show user address in popup.

All the Best


这篇关于处理具有大量数据字段的gridview的显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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