how to show selected file path in text box?

If u are using c# in web app, Use fileupload tool and get the path using

fileupload1.filename()

if it is a windows application

try

        openFileDialog1.ShowDialog();
        string filePath = openFileDialog1.FileName;

Hope this helps.

Have a happy coding.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.