Data Controls – Examples

Today I delivered a training to a few freelancers (claimed to have several years of experience in .NET 2.0). I was really surprised when they didn’t know what is a GridView, DataList and SiteMapDataSource. Worried! I need to point to them in Visual Studio only then they remembered what is a GridView? Gosh! I have spent several hours going through with them those data controls. Finally, after I ended up with 21 examples covering GridView, DataList and SiteMapDataSource. I thought of sharing the codes over here so that I don’t have to recode and reexplain them to new freelancers. Hee! Hee!
Note: I’m using the Pubs database. I’m assuming that you have attached the database into a default instance of SQL Server Express Edition (I’m using the 2005 version).

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: