I want to populate my table in datagridview from my access database table
please help...
I'm not just trying to bind the table in access to my datagridview...I want to put the data's in my access database to my table in datagridview
so far this is my code.....
Sub filldatagridview()
Dim conn As OleDb.OleDbConnection = New OleDbConnection(strConnect)
conn.Open()
strsql = "select * from Users"
Dim acscmd As New OleDb.OleDbCommand
acscmd.CommandText = strsql
acscmd.Connection = conn
Dim acsdr As OleDbDataReader = acscmd.ExecuteReader
acsdr.Read()
DataGridView1(1, 1).Value = (acsdr("Login_Username"))
acscmd.Dispose()
acsdr.Close()
End Sub
Plase help me with my Project