Linq The specified type 'string' is not a valid provider type.
- by Joe Pitz
Using Linq to call a stored procedure that passes a single string, The stored procedure returns a data set row that contains a string and an int.
Code:
PESQLDataContext pe = new PESQLDataContext(strConnStr);
pe.ObjectTrackingEnabled = false;
gvUnitsPassed.DataSource = pe.PassedInspection(Line);
gvUnitsPassed.DataBind();
…