title: adding new column to table with column name as present days date
body: <p>I am new to java .I want to build simple java application for attendance management system.For doing this I want to create a new column into already existing table the column name should be present days date.I used date picker for getting  present days  date.
  I had written following code for this,but the column name in table is setting as "+s1+".
  This is my code:</p>
  
  <pre><code>    String s="";  
      s=date.getText();//selected data from date picker
      s.replace(".","_");
      try{
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         con = DriverManager.getConnection("jdbc:odbc:vasu");
         st = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
         //System.out.println("ALTER TABLE attendance  ADD "+s+" varchar(50);");
         rs = st.executeQuery("ALTER TABLE attendance  ADD '"+s+"' varchar(50);");
      }
      catch(Exception ex){
      }
  </code></pre>
  
  <p>could any one help me
  well thanks in advance. </p>