var ls=listBox1.SelectedItem.ToString(); if (ls=="") { MessageBox.Show("select salesmanname").ToString(); } else { NavigationService.Navigate(new Uri("/customernames.xaml", UriKind.Relative)); }
var ls = listBox1.Text;
var ls=listBox1.SelectedItem.ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)