Exemple #1
0
        private void listUserIds_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            FriendGrid.Items.Clear();
            FavoriteGrid.Items.Clear();
            dataGrid.Items.Clear();
            StarsText.Clear();
            FansText.Clear();
            NameText.Clear();
            YelSinceText.Clear();
            LatText.Clear();

            if (listUserIds.SelectedIndex > -1)
            {
                string info = "select firstname, avgstars, joindate, lat, long from users where userid= '" + listUserIds.SelectedItem.ToString() + "';";
            }
        }