我想要的僅僅是當插入正好10個數字時,存儲在edittext變量'num'內的數字只應該被插入表myNumber中。否則,它應該顯示的消息 Toast.makeText(getApplicationContext(), "Please enter a valid number", Toast.LENGTH_LONG).show();
這是我的代碼 pc = passcode.getText()
我在這裏的問題是,我有兩個表, SQL> select * from paydata1;
IDNO NAME J SALARY PAYHR
---- ------------------------- - ---------- ----------
1111 Ann French S 75000 0
2222 Robert Costa H 0 45