Vincent Genneiro Wilson, 21, was hurt, deputies said.
The sheriff's office said Justin Christopher Keeton, 20, of 104 Agate Court, Knightdale, had been charged with assault with a deadly weapon (and) inflicting serious bodily injury with intent to kill.
Keeton fled the scene at 7021 Hodge Road in Wendell after the shooting, but was arrested a short time later, deputies reported.
The incident was reported at 1:07 a.m., officials said. Johnson said deputies were told that Wilson and Keeton had been arguing at the party before shots were fired.
The sheriff's office said Wilson had undergone emergency surgery.
Copyright 2022 by Capitol Broadcasting Company. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.