Bahar Jalali

Bahar Jalali

  • NA
  • 185
  • 305.4k

2 question about combobox and save files

Jan 8 2012 5:36 AM
hi
i'm developing a program that i need to save some pdf files in the my application's root folder, in winforms i cant find any good sample for save a file in a specified folder (place in the application) .
most of them was about connect to a server on the internet or about browse folder but they don't good for me

then my questions are:
1. how can i upload a pdf file in my application root

2. i have a combobox in my program that bind it's data from database
when i select one of it's item and click on the search button, it shows all pdf files that are relative to my selected item
but when i use it one time, it don't load other it's items anywhere,

it means when i select an item and click on the button, combobox remind on the my selected item and there isn't another items in it!!!
it seams that other items' lose!


any suggestion?
thanks in advance

Answers (2)