How to entry Attendance Entry here

Posted by Jayakumars under C# on 6/19/2014 | Points: 10 | Views : 1233 | Status : [Member] [MVP] | Replies : 1
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



Responses

Posted by: Saranpselvam on: 6/25/2014 [Member] Starter | Points: 25

Up
0
Down
HI i am not able to see your attachment. Pls mail it "saranpselvam@gmail.com"

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response