Bounded data from MS Acces
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
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
p cPosted Feb 15, 2008, 8:34 AM
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...