Per Hemmingson
Mar 8, 2008
  9897
(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
Opti ID overview

Opti ID allows you to log in once and switch between Optimizely products using Okta, Entra ID, or a local account. You can also manage all your use...

K Khan | Jul 26, 2024

Getting Started with Optimizely SaaS using Next.js Starter App - Extend a component - Part 3

This is the final part of our Optimizely SaaS CMS proof-of-concept (POC) blog series. In this post, we'll dive into extending a component within th...

Raghavendra Murthy | Jul 23, 2024 | Syndicated blog

Optimizely Graph – Faceting with Geta Categories

Overview As Optimizely Graph (and Content Cloud SaaS) makes its global debut, it is known that there are going to be some bugs and quirks. One of t...

Eric Markson | Jul 22, 2024 | Syndicated blog

Integration Bynder (DAM) with Optimizely

Bynder is a comprehensive digital asset management (DAM) platform that enables businesses to efficiently manage, store, organize, and share their...

Sanjay Kumar | Jul 22, 2024

Frontend Hosting for SaaS CMS Solutions

Introduction Now that CMS SaaS Core has gone into general availability, it is a good time to start discussing where to host the head. SaaS Core is...

Minesh Shah (Netcel) | Jul 20, 2024

Optimizely London Dev Meetup 11th July 2024

On 11th July 2024 in London Niteco and Netcel along with Optimizely ran the London Developer meetup. There was an great agenda of talks that we put...

Scott Reed | Jul 19, 2024