Data Binding with ASP.NET

I am presenting the session on Building Data-Driven Websites with ASP.NET (a.k.a.Data Binding and ASP.NET) at the current Microsoft Technical Roadshow we are running in the UK, so I though I would use my blog to provide some additional links and background material for the session.

 

The good news is there are plenty of articles on this topic, from the core .NET framework documentation and the quickstart tutorials that get installed in your machine, through to the MSDN ASP.NET Developer Center and the Microsoft ASP.NET site.

 

One person who has written more than his fair share of articles on this subject is Dino Esposito. For example, he covers the subject of templates, which is one of the core topics of my session extremely well in his MSDN article Understanding Templates in ASP.NET. I use some variations on his demos in my session. I do mention the three templated controls, the DataGrid, the DataList, and the Repeater – if you want a more in depth treatise on when to use what, check out Scott Mitchell’s article Deciding When to Use the DataGrid, DataList or Repeater.

 

I also discuss the choice of DataReader versus DataSet. Most of my demos use DataSets, simply because I like them, and they are powerful and easy to work with, but that doesn’t mean that they are the right choice for you. If you are developing large or complex web applications, I would suggest you do some background reading on this topic, such as the recent MSDN article Contrasting the ADO.NET DataReader and DataSet, which lays out the pros and cons.

 

Finally, a task I leave as an exercise for the reader, you might want to consider writing your own ASP.NET control which supports data binding and templates. Dino Esposito has written an article entitled ASP.NET Controls Templates which takes you through the process. Happy coding!

Comments

  • Anonymous
    June 03, 2004
    The comment has been removed
  • Anonymous
    June 03, 2004
    A few people at the event also asked about books on this topic. There are so many out there, that the couple I recommend doesn't mean you shouldn't check out others as well.

    Essential ASP.NET with Examples in C# by Fritz Onion is a great in depth read on the whole ASP.NET world, such as the HTTP Pipeline, etc, as well as data binding.

    Building Web Solutions with ASP.NET and ADO.NET by Dino Esposito has a large section on data binding, and has the most in depth coverage of the subject i have seen.

    Cheers
    David
  • Anonymous
    June 11, 2004
    The comment has been removed
  • Anonymous
    June 11, 2004
    I am chasing this now, and many appologies over the delay . . .
  • Anonymous
    June 17, 2004
    The comment has been removed
  • Anonymous
    June 21, 2004
    The comment has been removed