You need to load the report before attempting to pass in the parameter value
Try
...
report.Load("C:\Users\harold\Documents\Visual Studio 2012\Projects\SASApp\SASApp\MyReport.rpt")
report.SetParameterValue("StudentRecord", dgv1.SelectedRows(0).Cells(0).Value)
...