Building the project in ASP.NET
What follows is ASP.NET VB.NET code for the Object-Oriented Grading Tool. The code is very similar to the earlier code presented for the VB.NET console application. With this example, no ASPX code changes are required as the output is handled with the response.write
method:
Imports System.IO Public Class ASPNETOOGradingTool Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim filePath As String = "students.csv" Dim studentGrades As New Dictionary(Of String, List(Of clsGrade))() Using reader As New StreamReader(filePath) ...