Click here to Skip to main content
15,895,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends!!

I've a web chart(asp.net) displaying values..The chart displays 0(zero) also in the case of Null values..But I don't want to display 0's..And its coming from Database as I'm using ISNULL()..

Is it possible to avoid displaying 0's? if so how??


Thanks,
Ravi kamesh
Posted

Think about adding a where condition which filters values greater than Zero
 
Share this answer
 
if u dont want to display 0's keep 1 in place of 0's simple.
 
Share this answer
 
Comments
prk@cp 26-Jul-12 2:05am    
1 is retrieved when data is there...if data is not there, 0 is retrieved acc. to my stored procedure...
Gridview_DropdownList 26-Jul-12 2:07am    
by default u enter one and retrieve one man simple................

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