hi
i need attendance entry here i attached my images how will implemented
this windows c# application
my Code this but my combox added one column here
i need same excel sheet output in windows application c# and stored to database how will do this?
DataTable dt=new DataTable();
DataRow dr;
odp1.Fill(dt);
DataGridViewComboBoxColumn dgvCmb = new DataGridViewComboBoxColumn();
for (int i = 1; i <= 14-1; i++)
{
dr = dt.NewRow();
dt.Rows.Add(dr);
dgvCmb.HeaderText = "Day" + i;
dgvCmb.Items.Add("A");
dgvCmb.Items.Add("X");
dgvCmb.Name = "cmbName" + i;
}
dataGridView1.DataSource = dt;
dataGridView1.Columns.Add(dgvCmb);
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com