The ConvertEmptyStringToNull of the Datas source's parameter will return a null and not DBNull that is required for the SelectCommand to be executed and pass a NULL value to the parameter of the select command.