I used arraylist to get elements from database..
Expand|Select|Wrap|Line Numbers
- ArrayList<String> noD = new ArrayList<String>();
This is how I get data
Expand|Select|Wrap|Line Numbers
- noD.add(rs1.getString("noD"));
Expand|Select|Wrap|Line Numbers
- noD.get(loop variable)
There are certain noD in database which has no value and it is displayed as null and others as it is....
Now I want to display these null elements as 0... how to achieve that....