Try our conversational search powered by Generative AI!

Per Hemmingson
Mar 8, 2008
(0 votes)

Databinding in 3.5

MIX08 seminar "Bring your data to life with WPF".

Anson Tsao from Microsoft talk about how to databind in Windows Presentation foundation and what's new in 3.5 as well as a changing user interface during and after development and how to adapt to that.

First of, what is databinding?

  • Target: Dependent Property
  • Source: any public property (CLR and WPF properties)

In WPF you can now databind to other properties, e.g. opacity, rotation etc. The demo was pretty basic and already well known to all that has already used WPF. Anyhow, I found it useful and it showed you can do simple neat things with databinding and some layout skills (..) to your web app. You can watch it online at

Summarized up, what's new in 3.5

  • New debugging Mechanism
  • Support for IdataErrorInfo
  • Alternative syntax for Datavalidation
  • and Linq support

Happy Binding,


Mar 08, 2008


Sep 21, 2010 10:32 AM

how to use data gridview in asp.net3.5??????
/ ashish

Sep 21, 2010 10:32 AM

In your code:

Because the View is responsible to render the model, we will do the data binding in the code-behind of the View.

public partial class Products : ViewPage>


public void Page_Load()


productList.DataSource = ViewData;




You do not include a declaration of the productList ListView. Normally this would be handled via a designer partial class that is generated with the ViewPage, but my desinger does not produce this partial class.

Is there something I am missing here? I am producing a compile time error using the technique you are showing.

/ sheshdhar, HCL Infosystems

Please login to comment.
Latest blogs
Migrate Catalog content properties

A colleague asked me yesterday – how do we migrate properties of catalog content. There is, unfortunately, no official way to do it. There are...

Quan Mai | Feb 20, 2024 | Syndicated blog

Adjust log levels in Optimizely DXP

You may adjust the log levels for your site in Optimizely DXP yourself, but only for the Integration environment. Follow this step-by-step guide.

Tomas Hensrud Gulla | Feb 20, 2024 | Syndicated blog

Introducing Search & Navigation Dashboard for Resource Usage

We're excited to unveil the latest addition to the Search & Navigation suite: a dashboard designed to proactively monitor your resource usage. It's...

Edvin Dackelid Johansson | Feb 20, 2024

Introducing Jhoose Security Module V2.0

Version V2.0 of the Jhoose Security module has been released and is available via the Optimizely nuget feed. This update not only squashes several...

Andrew Markham | Feb 19, 2024 | Syndicated blog