
In web development projects, we frequently need to write code to render the content of list boxes with dynamic data from a data source. In ASP-classic time, it was a relatively hard task to do. For instance, we had to query a database, retrieve a RecordSet and iterate through the RecordSet while manually creating proper HTML tags to make up the content of list box. In ASP.NET, you could do the same thing, but there are much better ways to do that in a fraction of time. Moreover, instead of relying on a database as the data source, you can use a variety of data sources like XML files.
|