private void btn_Search_Click(object sender, EventArgs e) { listView1.Items.Clear(); csQueries csq = new csQueries(); var objds = csq.CostingQuery_ReturnDS("GetCloudFiles", txt_Search.Text, (int)info[0]); if (objds.Item1 == "Committed") { AddToListView(objds.Item2); } }