Skip to content

Bounded data from MS Acces

irfan hafid

Asked Dec 11, 2007, 6:53 PM EST1 answer
Share
LinkedInX
Hi everybody,I am novice in VB 2005, I want to generate (bound) data from datasource (MS Acces) to a listview control but I don't know its code. maybe someone expert can help me. help me, please ! Thank's

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    As i read ur question i think u want to diaplay data from MS Access database to a listview control-
    For this 1st of all add a connection to MS Access databse to ur project
    Steps- (1)Go to server explorer (2) Rt click on 'Data Connections' and choose Add Connection (3)Click on change button to change the data source (4) Select 'Microsoft Access database file' as a datasource (5) Click ok.(6) Give the database name u want to connect to.You may need to browse to the database (7) Click 'Test Connection' to check the connection.

    After establishing the connection u can use oledbConnection to add data to listview...
    0