c# - ASP.Net Web Application Choose Client Side Directory -
i have requirement allow user provide local directory path via ui in web application can save our database. our other programme (a winforms app) utilize path store files (actually recordings) have created via app.
ideally remove much room human error possible i.e. allow them utilize paths exist prefer have kind of select directory dialog forces them utilize existing directories have read not possible on client side code security reasons of course of study makes total sense there way can achieved? far have been unable find of utilize besides letting them type in , not happy lack of command on path enter.
sometimes, more choices don't create things easier customer.
the "standard" windows app's storing things in user's documents directory, , perchance app specific folder within user's documents directory.
i go default expectation, user's documents directory.
when thinking this, inquire code should if directory user selected disappears, whatever reason. happen because user changes computers between when setup thing using webui , when user winform's client.
going standard behavior, documents folder , perhaps subdirectory named after app, obviates of these problems.
hope helps.
c# asp.net
No comments:
Post a Comment