How to create Fileupload control in wpf?
I want to upload jpg image files. plz give me some samples.
How to create Fileupload control in wpf?
I want to upload jpg image files. plz give me some samples.
It depends on what you're uploading to. Most likely you'll want to build some sort of service class that takes care of copying the file to the new location.
Then in your XAML you'll have to create a TextBox
and a Button
to show a dialog.
Although, you're design options are greatly increased in XAML, so you're not locked into the TextBox - Browse button. Update your question with more details and I can try to elaborate.