Video: Binding Data to ASP.NET 2.0 Server Controls

In my last blog entry I wrote about how to bind data to different ASP.NET 2.0 server controls using the SqlDataSource, XmlDataSource and ObjectDataSource. I also discussed how controls could be embedded in other controls such as the DetailsView using templates and binding expressions. Based upon the amount of interest in the post I decided to put together a quick video demonstrating how the SqlDataSource can be used quickly and easily and how controls can be embedded using templates.

Keep in mind that I'm not a big fan of using the SqlDataSource in "enterprise" applications but I do find myself using it quite a bit for admin pages where I need to update look-up tables or perform fairly straightforward operations with a minimal amount of code. For N-Tier/N-Layer applications I prefer to use the ObjectDataSource control where appropriate. I'll put together another video that demonstrates how the ObjectDataSource control can be used with custom code or TableAdapters. You can view my ASP.NET Connections talk about the subject here if interested.

View the Video

 

View Other Videos

 

 

comments powered by Disqus

No Comments