What is the best way to do a comboBox with the days of the month?
In other words, the combo has to take from 1 to 31 days.
On the HTML side I have a label called "drpDia", and I need to load this label with numbers from 1 to 31. I know if you can do this in JavaScript, but I do not understand anything about JavaScript, so I was going by C #, in which I know more or less that I have to make a list from 1 to 31 and then I have to fill in the "drpDia" label with those numbers. correct?
Is this a very good thing to identify?
But I'll have to load it on drpDia.
int[] numbers = new int[seats];
for (int i = 1; i <= seats; i++)
{
numbers[i-1] = i;
}
comboBox1.Items.AddRange(numbers);
example:
So instead of having the days of the week is to have the days of the month where Friday becomes 1, saturday becomes 2 and so on up to 31.