How to post data to SQL when somebody clicks on my radio buttons?

Hi guys!
I have a radio button:

RadzenRadioButtonList @bindValue="1" TValue = "int" Name= "MaleFemale">
    <Items>
              <RadzenRadioButtonListItem Text = "Male"> </RadzenRadioButtonListItem>
              <RadzenRadioButtonListItem Text = "Female"> </RadzenRadioButtonListItem>
    </Items>
</RadzenRadioButtonList>
private void radioButtonClicked(){
    //post to sql code?
}

How can I set up an onclick event on my radio buttons so that If a user clicks
on the radio button it will be posted to my SQL database.
Thank you!