Private Sub Browse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Browse.Click If (OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK) Then FileName = OpenFileDialog1.FileName TextBox1.Text = FileName End If End Sub用openfiledialog控件,在你要選擇文件的botton的click事件下面下選擇文件的代碼,把文件的路徑顯示到textbox1.text里面
網(wǎng)站導(dǎo)航
- zblogPHP模板zbpkf
- zblog免費模板zblogfree
- zblog模板學(xué)習(xí)zblogxuexi
- zblogPHP仿站zbpfang