Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding bizobj to new wpf datagrid?
Message
 
To
13/11/2008 16:00:12
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01361705
Message ID:
01361787
Views:
13
>Joe,
>
>>Can anyone provide an example of how to bind the new wpf datagrid to a business object?
>
>I have not jumped into WPF as of yet, but have you looked at the Dev guide sections:
>Data Binding WPF Controls
>& Working with Data Grids
>in the Creating Windows Presentation Foundation Applications section?

Yes but the instructions in "working with datagrids" are very vague and I'm not sure they are even talking about the new wpf datagrid. All it says is delete the listview, specify the datacontext on the datagrid, and add this line of code... this.NavigationControl = this.grdEmployees;

>I see it mentions in the first this comment:
>"Visual Studio 2008 WPF data binding is non-existent (you can manually enter data binding information in a XAML...) the best way to data bind your user interface controls is to use Microsofts's Expression Blend."
>
>Beyond this, I can't help much.
>Tim

I'm using Expression Blend and the wpf datagrid that was released in the wpftoolkit.
http://www.codeplex.com/wpf
Thank you anyway!!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform