Beispiel #1
0
    protected void ShowsbyArtistButton_Click(object sender, EventArgs e)
    {
        string artist = ArtistDropDownList.SelectedItem.Text;

        FanServices.ShowsPerArtist[] spa = showtracker.GetArtistShows(artist);
        ShowGridView.DataSource = spa;
        ShowGridView.DataBind();
    }
Beispiel #2
0
    protected void ShowsbyArtistButton_Click(object sender, EventArgs e)
    {
        string artist = followArtistRadioButtonList.SelectedItem.Text;

        FanServices.ShowsPerArtist[] spa = showtracker.GetArtistShows(artist);
        if (spa.Length == 0)
        {
            nodata.Text = "There are no shows for this artist";
        }
        ShowGridView.DataSource = spa;
        ShowGridView.DataBind();
    }