Jan 01, 2020 05:07 PM|KathyW|LINK
To expand on mgbehard's response, that script section is actually C# code-behind. The runat="server" attribute means it runs on the server. You are looking at an .aspx example where the code behind is in a runat="server" script section in the .aspx page
rather than in an associated, separate .aspx.cs file. Either way works. For larger pieces of code it is easier to maintain in a separate code file.
And, repeating what I said earlier, ASP is not ASP.NET. Your example is ASP.NET.