I'm working on an appointment project, and I'm having trouble comparing the column name in SQL with a variable name in C#.
I have these variables, each of which is associated with a radio button on my form:
int time1;
int time2;
int time3;
int time4;
int time5; // etc...
Additionally I have columns with the same name in a SQL table, and I want to compare each variable name with the column names, and if they are equal then update the value.