Android:Attendance takeup proj storing values
<p>hi    hi i am making an attendance takeup proj.i have retrieve data from database and dislayed using following code.in that i have retrieve student id,first name,last name from database.
    in my colum.xml there are 3 text views in which first,last name,id wll be displayed which i have retrieved..i have put one check box in colom.xml also so while retreving along with id,first,last name check box wll come.
    so after retreving  when a button is clicked i want to store all the values i.e first ,last name,id along with check box values checked or not to another table.i am not getting  any idea of how to how to retrieve the displayed data and store in table..can any one please guide me.</p>

<pre><code>        public void onClick(View v) {
                    // TODO Auto-generated method stub
                    ArrayList&lt;HashMap&lt;String,String&gt;&gt; p2 = mydb.getAllSDetails();

                        lv = (ListView)findViewById(R.id.LVUpdate);
                       SimpleAdapter mSchedule = new SimpleAdapter(update.this, p2, R.layout.column,
                               new String[] {"_Sid","FName", "LName","Age","qual"}, new int[] {R.id.txtfname, R.id.txtlname,R.id.txtage,R.id.txtqual});
                       lv.setAdapter(mSchedule);


                        lv.setOnItemClickListener(select);

                }
            };
            public OnItemClickListener select=new AdapterView.OnItemClickListener() {

                @Override
                public void onItemClick(AdapterView&lt;?&gt; arg0, View arg1, int position,
                        long arg3) {
                    int idd[] = mydb.gettingId();
                    str = idd[position];


                }

              };
</code></pre>
