Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET VB.NET
hi guys,
i really dont know how to display null value from database (if have) into listview..i only know how to bind it to label text..but listview i dot have idea.
please help me
Posted 30-Nov-12 0:01am
Er. Vikas Sangal at 30-Nov-12 6:22am
my question is here are you print anything else with listview data because i think in Listview every row is like a label and label does not show blank text.
ryanb31 at 30-Nov-12 8:20am
It is unclear what you want. NULLS will likely just show as blanks.
Teenustar at 30-Nov-12 16:08pm
You must handle Null values when binding to a listview. Either handle it in SQL or in .net
musiw at 2-Dec-12 13:30pm
the column is not appear.for example column value for remarks is null(because user didnt key in) so when i want to display the column for remarks is blank.i understand but at least it must show the border table
Hari Krishna Prasad Inakoti at 2-Dec-12 23:58pm
u can save that remarks value is null.In that time u'll get null values in list view.Otherwise it will display like blank.

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

  Print Answers RSS
0 Nirav Prabtani 268
1 OriginalGriff 217
2 Mika Wendelius 185
3 Sergey Alexandrovich Kryukov 176
4 CPallini 170
0 Nirav Prabtani 284
1 OriginalGriff 217
2 Mika Wendelius 185
3 _Amy 170
4 CPallini 170

Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 30 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100