Friends, Technology, Web2.0 - What I am reading

    [Home] [Recent] [Site Map]

   

Building a User Control that Displays RSS Feeds Using a DataList and an XmlDataSource Control

Displaying data in ASP.NET verison 1.x required writing code to programmatically retrieve the data and then more code to bind the data to a data Web control, such as the DataGrid. ASP.NET 2.0 simplifies the process of working with data through its data source controls, which allow data to be retrieved and even modified through declarative means. In short, ASP.NET 2.0"s data source controls permit developers to work with and display data without having to write a line of code. For a more thorough look at working with data in ASP.NET 2.0, be sure to check out my Accessing and Updating Data in ASP.NET 2.0 article series.

Different data source controls are designed to work with different types of data. The XmlDataSource control, as its name implies, is designed for working with XML data. By setting a few properties, it is possible to retrieve XML data from a remote URL or local file, transform it using XSLT, and filter it using an XPath expression, all without writing a line of code. This data can then be displayed by binding it to a data Web control and XPath databinding statements can be used to bind specific chunks of the resulting XML to other Web controls.

In this article we will see just how easy it is to display XML data in an ASP.NET 2.0 page. In particular, we will build a User Control that will display the contents of an RSS feed. Once created, this User Control can be dragged onto the Design surface of any ASP.NET page in your project and configured to display the contents of a particular RSS feed by simply setting the control"s Url property to the URL of the RSS feed. Read on to learn more!
Read More >


>>Source Link
>>Blog: 4GuysFromRolla.com Headlines
>>Publish Date: 6/14/2007 8:14:54 AM
>>Keywords: data control

Related Posts
>>Accessing and Updating Data in ASP.NET 2.0: Declaratively Caching Data #
    A Multipart Series on ASP.NET 2.0"s Data Source Controls ASP.NET 2.0 introduced a number of new Web controls designed for accessing and modifying data. These controls allow page developers to declarat
>>Accessing and Updating Data in ASP.NET 2.0: Inserting Data #
    A Multipart Series on ASP.NET 2.0"s Data Source Controls ASP.NET 2.0 introduced a number of new Web controls designed for accessing and modifying data. These controls allow page developers to declarat
>>Accessing and Updating Data in ASP.NET 2.0: Programmatically Accessing Data using the Data Source Controls #
    A Multipart Series on ASP.NET 2.0"s Data Source Controls ASP.NET 2.0 introduced a number of new Web controls designed for accessing and modifying data. These controls allow page developers to declarat
>>Displaying custom data through SharePoint lists using SPGridView and SPMenuField #
    Paul Robinson has posted an interesting article about using SPGridView control to view custom data. This is Part 1, I can"t wait for the coming articles.Read the full article hereRegards,Mohamed Yehi
>>Accessible Data: Making your data available for all #
    Making sure your application is accessible for tools like screen readers is important and you should be aware of and follow the guidelines outlined in Accessibility Best Practices . One place you shou
>>TFS Data Source ASP.NET Control #
    While learning ASP.NET for developing the RTE for MSDN Forums I had to interact with multiple teams and provide them with status reports on the work items. Some of them were not using TFS yet for tha
>>Working with Data in ASP.NET 2.0 #
    A ton of great articles and tutorials on working with data in ASP.NET 2.0 applications has been published recently. This post highlights a few of them (including tools like SubSonic and NHibernate):
>>Using ObjectDataSource to do the dirty work for your custom data source #
    Since ASP.NET 2.0 was released in 2005 many of you have taken advantage of the new data source control controls . Drop a GridView on the page. Bind it to a data source. Check a few checkboxes. Run the
>>dhtmlxGrid - sortable Javascript DHTML grid #
    This is an interesting project, free under GNU license. dhtmlxGrid is a Ajax-enabled JavaScript grid control that provides professional solution for representing and editing tabular data on the web. C
>>Filtering Custom Paged Results #
    The ASP.NET 2.0 data web controls - the GridView, DetailsView, and FormView - all provide built-in paging support that can be enabled at the tick of a checkbox. Unfortunately, this built-in paging su

Related Posts:
>>Personalizing RSS Feeds with ASP.NET 2.0
>>Rolling Your Own Website Administration Tool - Part 2
>>Rolling Your Own Website Administration Tool - Part 1
>>Debugging SQL Server 2005 Stored Procedures in Visual Studio
>>Deploying a Local Database to a Remote Web Host
>>Accessing and Updating Data in ASP.NET 2.0: Inserting Data
>>Maintaining a Log of Database Changes - Part 2
>>Accessing and Updating Data in ASP.NET 2.0: Programmatically Accessing Data using the Data Source Controls
>>Accessing and Updating Data in ASP.NET 2.0: Programmatically Accessing Data using the Data Source Controls
>>Filtering Custom Paged Results
>>Creating Custom Configuration Sections in Web.config Using .NET 2.0"s Configuration API
>>Health Monitoring in ASP.NET 2.0: Notifications via Email
>>Health Monitoring in ASP.NET 2.0: Notifications via Email


Month Archives:

Top Tags:
social software social networking .NET mashable Sharepoint ASP.NET Web2.0 Startups Web 2.0 Community News Search Marketplace General Software Development AJAX People Powered! Microsoft Visual Studio myspace Windows Vista YouTube Vista Silverlight Events C# MOSS Featured News WPF Google MOSS 2007 Office 2007 Web



@2007 All rights Reserved