Just as the classic ASP version did, this sample uses a sample data source that it builds on the fly.
I did this because the database connectivity is not really the point of this particular sample and I
didn't want the DB code to confuse anyone. This also has the added benefit of making it so that the
code will run without my needing to include a separate Access or XML file from which to retrieve the
You should also take note of tha fact that the formatting is handled completely by the grid itself.
This is nice because this way when you want to change the look of the grid you don't need to worry
about messing with your DB code. You can just change the attributes of the datagrid and you never
have to get anywhere near anything else.