Click here to Skip to main content
15,900,378 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

try to display data in grid like below
Name (FirstName+LastName)|
E-Mail |
ContactNo (isnull(Mobile,PhoneNo)) |
Address (Address+Street+City+State+Country+Zip) |
 
Share this answer
 
Comments
codegeekalpha 13-Oct-11 7:25am    
any other way to do it.??? because i also want to update a row
kishorekke 13-Oct-11 7:46am    
ID|
Name (FirstName+LastName)|
E-Mail |
ContactNo (isnull(Mobile,PhoneNo)) |
Address (Address+Street+City+State+Country+Zip) |
EDIT

When u click on Edit link, get the details with ID and display all the fields in a panel and update. After u click update button in panel then bind grid again it will display updated row in grid
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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900