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?

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 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.