Can't speak about ASP.net but from my C / C++ / C# / VB / HTML / Java programming knowledge it sounds logical.
The best way with programming is always to try and put it in the compiler then debug it. And don't forget just because it compiles doesn't mean that it has worked!!

.