How can i retrieve the information from Ms Access and put it into a VB.net 2D Array? Urgently need help in this

Recommended Answers

All 4 Replies

You can fetch data from DB and assign into dataset or datatable. Using the loop u can bind data into dictionary with key, value pair.

You can fetch data from DB and assign into dataset or datatable. Using the loop u can bind data into dictionary with key, value pair.

Can give me a sample program? my email is [email]<<Email Snipped.>>[/email]. Sorry i was very bad in this kind of programming

1.Specify database related stuff and fill the dataadapter into dataset
2. copy dataset to datatable
3.check the condition as datatable rows count
4.for loop i and for loop j (Nested loops)
5. DictionaryVari.Add("A","Apple");

1.Specify database related stuff and fill the dataadapter into dataset
2. copy dataset to datatable
3.check the condition as datatable rows count
4.for loop i and for loop j (Nested loops)
5. DictionaryVari.Add("A","Apple");

Ok i will try it, thanks for the answer.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.