Dim TYH As WinForm.TextBox = e.Form.Controls("YH")
Dim TMM As WinForm.TextBox = e.Form.Controls("MM") '
Dim TSJK As WinForm.TextBox = e.Form.Controls("SJK") '
Dim TBHPT As WinForm.TextBox = e.Form.Controls("BHPT") '
proc.StandardInput.WriteLine("mysqldump -uroot -p13 t33 > D:\BF\t33-6.sql")
需求:蓝代码-uroot、p13、t33 、 D:\BF\t33-6.sql为窗口上文本框的录入的值,改为下面代码,执行无效,如何处理?
proc.StandardInput.WriteLine("mysqldump -u&TYH -p&TMM TSJK > BHPT")
proc.StandardInput.WriteLine("mysqldump -u" & TYH & " -p" & TMM & " TSJK ...........