Click here to Skip to main content
15,868,340 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, i'm doing a little project, it has a feature of marking attendence daily.

my attendence table like this.

ID
Name
Date
Present_or_absent

so i'm planning to add a checkedlistbox and the names that i ticked have to save in the databse, and the present or absent also should be add to the Present_or_absent Field in the table. is there any other way to do this thing easily? how to link the databse and checkedlistbox.?

And i'm handling my databse like this

VB
adap = New SqlDataAdapter("select * from Daily_Salary", conn)
        ds = New System.Data.DataSet()
        adap.Fill(ds)
        DataGridView1.DataSource = ds.Tables(0)


Thanks you..
Posted
Comments
Maciej Los 19-May-15 4:31am    
And the issue is...
Aruna Usitha 19-May-15 8:14am    
what?
virusstorm 19-May-15 15:50pm    
Maciej is asking what your problem is. Are you getting an error message? What code have you tried? While we are glad to help out, you need to put forth the effort of trying something first.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900