Posted on: 6/17/2015 7:11:22 PM | Views : 673

Hello,
I have a radio button list with three options:
   Contact A,  Contact B, and Contact C
If none of them are selected I need to have a null value put into the table.  This is my code:
            If Owner_Primary_ContactRadBtnLst.SelectedValue = "" Then                 OICCmd.Parameters.Add("Primary_Contact", SqlDbType.Char).Value = ""             ElseIf Primary_ContactRadBtnLst.SelectedIndex = 0 Then                 OICCmd.Parameters.Add("@Primary_Contact", SqlDbType.Char).Value = "A"             ElseIf Primary_ContactRadBtnLst.Se ...

Go to the complete details ...