HI。我有以下代码。
private EditText etAddSomething;
private EditText etAddSomething2;
private Spinner etAddSomethin3;
private String str_something;
private String str_something2;
private String str_something3;
str_descricao = etAddDescricao.getText().toString();
str_pais = etAddPais.getText().toString();
str_cidade = etAddCidade.getText().toString();
如何从数据库中的微调器插入数据?使用像
这样的东西str_descricao = etAddDescricao.getText().toString();
答案 0 :(得分:1)
str_spinner = spinner.getSelectedItem().toString();
答案 1 :(得分:0)
Cursor cr = sqldb.rawQuery("select Name from employee",null);