How can solve this type of error?
'SqlCommand' does not contain a definition for 'Parameter' and no extension method 'Parameter' accepting a first argument of type 'SqlCommand' could be found (are you missing a using directive or an assembly reference?)