protected void btnSearch_Click(object sender, EventArgs e) { NewsServiceClient newsSvc = new NewsServiceClient(); string searchOption = searchBox.Text; var listOfStrings = new List <AdminClientApp.NewsSVC.New>(); AdminClientApp.NewsSVC.New[] newsArr = listOfStrings.ToArray(); if (rbtnTenNews.Checked == true) { newsArr = newsSvc.GetTenNews(searchOption); } if (rtbnSimilar.Checked == true) { newsArr = newsSvc.GetSimilarNews(searchOption); } if (rtbnPositive.Checked == true) { newsArr = newsSvc.GetNBestPossitive(searchOption); } if (rtbnNegative.Checked == true) { newsArr = newsSvc.GetNBestNegative(searchOption); } LV1.DataSource = newsArr; LV1.DataBind(); }