Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 11th, 2007, 06:11 AM
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default populate details view or list view non empty rows

Dear friends,

I want to populate a formview or details view or list view in such a way that empty rows will not be displayed at all i.e. suppose there are records in a database having name, age and qualification field. I have some records which do not have age field. I want to populate formview or details view or list view in such a way that for those who have age their records are diplayed alongwith their age. But who don't have, instad of displaying empty fields I do not want to show its row alongwith its label (age) at all.

One more thing. How to display multiple records (say 5) in formview or details view or list view alongwith paging (I know paging but don't know how to display particular no of records per page).

I will be very much thankful.



Similar Threads
Thread Thread Starter Forum Replies Last Post
regarding the dropdownlist in the details view gopalawaghate ASP.NET 1.0 and 1.1 Professional 1 September 26th, 2008 02:23 AM
view details radheshsharma1032 .NET Framework 2.0 0 January 12th, 2008 10:06 AM
Help Grid View Drop Down List, view all jskinner123 ASP.NET 2.0 Basics 0 November 25th, 2007 06:25 PM
Regarding Details View aekta ASP.NET 2.0 Professional 0 March 10th, 2007 11:46 PM
alternative rows in diff. colours for list view madhukp VB How-To 2 October 7th, 2004 07:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.