Browse by Tags

All Tags » ADO.NET (RSS)

WPF + ADO?

If you have a WinForms background, you are sure to have used ADO.NET! One of the question I get asked is how do I bind to ADO.NET, LINQ, etc... Here is a very basic example of how to bind to ADO.NET objects. Note: I am using the standard AdventureWorks database available from CodePlex. My Window XAML only has a ListBox < ListView x : Name ="listBox" /> Here is my connection string and my SQL query const string connectionString = @"Data Source=rudi-lt\sqlexpress;Initial Catalog...
Posted by rudi | 1 comment(s)
Filed under: , ,