protected void BranchFindButton_Click(object sender, EventArgs e) { if (!BranchZipTextBox.Text.Equals("")) { DataTable Dataset = LocationDB.FindBranchByZip(BranchZipTextBox.Text); if (Dataset.Rows.Count != 0) { FillTableWithData(Dataset); return; } } else { DataTable Dataset = LocationDB.FindBranchLocationByAddress(BranchAddressTextBox.Text, BranchCityTextBox.Text, BranchStateDropDownList.SelectedValue); if (Dataset.Rows.Count != 0) { FillTableWithData(Dataset); return; } } NoLocationFound(); }