A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Per Hemmingson
Mar 8, 2008
  10348
(0 votes)

Databinding in asp.net 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 Asp.net 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 http://sessions.visitmix.com/

Summarized up, what's new in asp.net 3.5

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

Happy Binding,

Per

Mar 08, 2008

Comments

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;

productList.DataBind();

}

}

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
ScheduledJob for getting overview of site content usage

In one of my current project which we are going to upgrade from Optimizely 11 I needed to get an overview of the content and which content types we...

Per Nergård (MVP) | Jan 27, 2026

A day in the life of an Optimizely OMVP: Migrating an Optimizely CMS Extension from CMS 12 to CMS 13: A Developer's Guide

With Optimizely CMS 13 now available in preview, extension developers need to understand what changes are required to make their packages compatibl...

Graham Carr | Jan 26, 2026

An “empty” Optimizely CMS 13 (preview) site on .NET 10

Optimizely CMS 13 is currently available as a preview. If you want a clean sandbox on .NET 10, the fastest path today is to scaffold a CMS 12 “empt...

Pär Wissmark | Jan 26, 2026 |

Building AI-Powered Tools with Optimizely Opal - A Step-by-Step Guide

Learn how to build and integrate custom tools with Optimizely Opal using the Opal Tools SDK. This tutorial walks through creating tools, handling...

Michał Mitas | Jan 26, 2026 |