Created
November 11, 2012 08:18
-
-
Save NikkiBuck/4054148 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void searchButton_Click(object sender, EventArgs e) | |
{ | |
try | |
{ | |
DataSet dataSet = new DataSet(); | |
dataSet = BusinessEntities.PermitData.GetApplications(firstNameTextBox.Text, lastNameTextBox.Text); | |
searchJobsByNameDataGridView.DataSource = dataSet.Tables[0]; | |
} | |
catch (Exception ex) | |
{ | |
jobsByNameStatusLabel.Text = ex.ToString(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment