I have a little problem with the commondialog. I can select the files what i need but now i want them to put them in a table by click on a butten while i have one file selected but i don't know how i have to do this does somebody got an idea?

Recommended Answers

All 2 Replies

If I understand correctly you have a common dialog that lets you chose a file and when you have selected that file you want to put the name of that file in a database table - correct?

If so just use the return value of the common dialog, it will contain the name of the file selected, and do an INSERT into your database.

If I have misunderstood the problem please correct me.

Hope this helps

Yomet

Hey

You understanded me correctly but i think i can solve the problem now thanks

Snowlie

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.