コード例 #1
0
    public static string SelectedValuesAsCommaDelimmittedString(this CheckBoxList thatCheckBoxList)
    {
        List <string> selectedValuesAsStrings = thatCheckBoxList.SelectedValuesAsStrings();

        string commaDelimmittedStringOfValues = String.Join(",", selectedValuesAsStrings);

        return(commaDelimmittedStringOfValues);
    }