在第二个查询 public class MyListActivity extends Activity {
private ListView listView;
private MyAdapter myAdapter;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_list);
this.listView = (ListView) findViewById(R.id.listview);
this.myAdapter = new MyAdapter(getApplicationContext());
//add whatever you want to add to your adapter
listView.setAdapter(myAdapter);
}
}
之前,一切正常。 html元素显示正确但for (int i=0;i<textbox.Text.Length;i++)
{
textbox.Text=textbox.Text.Replace("00.","0.")
}
由于某种原因显示为false,因此if语句退出但是没有错误被回显。
SELECT * FROM artist WHERE artID != ?