title: How to store Student Daywise attendance in database and display in JTable?
body: <p>I have to write a Attendance Module for a school. I am using Java Swing to design the screens.</p>
  
  <p>When user click on attendance tab of <code>JTabbedPane</code>, two buttons are there: 
  1) Add Attendance 2) Display Attendance</p>
  
  <ol>
  <li><p>Here to add attendance user have to select Class from JCombobox and Date from JDateChooser.<br><br>
  Then JTable will display id and student Names available in that particular class.
  Following shows columnnames in jtable.
  <br><br>
  <code>StudentId | NAme | 1stDay | 2nd Day |....... |31stDay | No.Of Present days</code>
  <br><br>
  I can add daywise attendance successfully.I am using only one table StudentAttendanceTable in Oracle.</p></li>
  <li><p>Here User has to choose class and month,year to see attendance.Now I am getting list of attendance records in particular month bt how to display attendance of particuar day in that particular column of JTable?</p></li>
  </ol>
  
  <p>I hope you are getting my point.</p>
  
  <p>Just give me a way to sort attendance daywise and display it it <code>JTable</code>, so that when user must see attendance of all students from class and month he selects.</p>