M
M
Mikhailushka2018-12-11 21:25:49
ASP.NET
Mikhailushka, 2018-12-11 21:25:49

How to create a field to upload file to server in C# WPF?

I made a WPF program that enters information into a database on the server, how can I create any field or button to select a file and copy it to the server in the right folder?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LiptonOlolo, 2018-12-12
@noire_night

1. Put the button on the window.
2. Write the file selection code (exactly 2-3 lines of code).
3. Write the code for sending the file to the server.

Well, it's very simple
https://metanit.com/sharp/windowsforms/4.20.php
https://stackoverflow.com/questions/15268760/uploa...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question