After palying around with my code some more, I found my mistake(s). First, I had to add a using statement for ADODB. Second, I had to use square brakets for the field identifiers and use the .Value to correctly assign the value. The new code looks like this:
using ADODB;
ADODB.Recordset rs = new ADODB.Recordset();
Grading.clsGrading gr = new Grading.clsGrading();
rs = gr.CreateInput();
rs.Fields["LoanNbr"].Value = "1003";
|