I'm working with database, and I the following data class
datahelper.java
private static final String CREATE_TABLE = "create table "
        + TABLE_MEMBER + "(" + MEMBER_ID
        + " INTEGER PRIMARY KEY AUTOINCREMENT, "
        + MEMBER_NAME + " TEXT NOT NULL,"
        + MEMBER_DATE + " TEXT NOT NULL);";
and it point the error code to this two java file
SQLController.java
 public Cursor readData() {
        String[] allColumns = new String[] { DBhelper.MEMBER_ID,DBhelper.MEMBER_NAME,DBhelper.MEMBER_DATE};
        Cursor c = database.query(DBhelper.TABLE_MEMBER, allColumns,null, null, null, null, null);
        if (c != null) {
        c.moveToFirst();
       }
        return c;
    }
Mainactivity.java
     protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_main);
        dbcon = new SQLController(this);
        dbcon.open();
        addmem_bt = (Button) findViewById(R.id.addmem_bt_id);
        lv = (ListView) findViewById(R.id.memberList_id);
        addmem_bt.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent add_mem = new Intent(MainActivity.this, Add_member.class);
                startActivity(add_mem);
            }
        });
        // Attach The Data From DataBase Into ListView Using Crusor Adapter
        Cursor cursor = dbcon.readData();
        String[] from = new String[] { DBhelper.MEMBER_ID, DBhelper.MEMBER_NAME, DBhelper.MEMBER_DATE };
        int[] to = new int[] { R.id.member_id, R.id.member_name, R.id.member_date};
thx all your help
 
     
    