Hi- I'm running a stored procedure through L2S and it's returning 'Specified cast is not valid'. The stored proc is returning data when ran manually and when I step thru it, everything is fine until it tries to create the row object in "foreach (var row in result)".
var q = new db();
var result = q.GetNearbyLocations(latitude, longitude,searchDistance);
foreach (var row in result)
{
var c = new Clinic()
{
Name = row.CLINIC_NAME.Trim(),
Address1 = row.DRADR1.Trim()...
Ideas?