Preheat a grill to medium-high heat.
Peel back the husks from the corn without removing them completely and peel off the silk.
Rub the corn with olive oil and salt and pepper and smooth the husks back into place.
Arrange on the preheated grill and cook, turning occasionally, until nicely golden and brown, about15 minutes.
Remove the corn from the grill and peel back the husks. Return to the grill and brush with barbecue sauce. Grill until the sauce begins to caramelize on the kernels, about 5 minutes. Remove to a platter and serve.