guys i already solved this! thanks to your help

i used this

classLibrary.addParameter("@Sex", SqlDbType.VarChar, cboxsex.SelectedValue, cboxsex.Text.ToString)