I have 25 ComboBoxes that I want to move all of the values into an array so that i can put them into SQL Server. The current method that I am using is
string[] Answers = { cbxIntro.SelectedValue.ToString(),
cbxAge.SelectedValue.ToString(), etc
This then throws up the error code
System.NullReferenceException: 'Object reference not set to an instance of
an object.'
Any help would be greatly appreciated