1
I created an Array in form load to solve the problem.
- private void Form1_Load(object sender, EventArgs e)
- {
- string[] Shift = new string[3];
-
- Shift[0] = "Days";
- Shift[1] = "AfterNoon";
- Shift[2] = "Nights";
- cb_Shift_F1.Items.AddRange(Shift);
- }
0
Can you share the code which gives the error along with the table structure?