hi guys,
i created a form that contains one textbox and one button control, when i click the button a open file dialog box will be opened and the selected file name will be displayed in textbox. i know one logic ie
system.io.path.getfilename(openfiledialog1.filename);
but it displays the file extension also, i want only the file name plz help?