I have an application in which I have to populate a datagridview from one table from an access database. Here is the code that I use to open and close .mdb file.
= Application.StartupPath() &
mydb = CreateObject(
Source=" + LOCATION_DB +
";Jet Oledb:Database Password=lupucpr;")
sql = " select * from employee_table
mylist = mydb.execute(sql)
= XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ?????
So, my question is, how can I populate dgv in this moment?
Can somebody help me, please?
I know that a way to populate is one by one in this way:
'''''' thing that will fill the row in datagridview'''
... But I don't want to use this way... I want a different way with a dataset or... I don't know.