Page.xaml

>

 

Page.xaml.cs

 sender, RoutedEventArgs e)
        {
            GetUser();
        }
      
    }
    
}

 

WebService中仅包含一个返回List<User>的GetUser();

PS:在Silverlight中并不包含DataGrid,如需使用,请引用System.Windows.Controls.Data

并且在Page.xaml中声明

xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"

 

相关文章:

  • 2021-09-07
  • 2022-12-23
  • 2021-11-22
  • 2021-08-20
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
猜你喜欢
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
  • 2021-08-15
  • 2022-12-23
相关资源
相似解决方案