Giving you a sample would be well beyond the format of CodeProject Quick Questions & Answers and pretty much useless for you.
You can probably find too many samples on the Web and, in particular, CodeProject articles, but do be serious. Just start here:
http://www.asp.net/get-started[
^].
—SA