proc.Start()
proc.StandardInput.WriteLine("my ")
proc.StandardInput.WriteLine("t33")
'proc.StandardInput.WriteLine(command[0]); '"source D:\\Backup\\ib_response201812161030.sql");
proc.StandardInput.WriteLine("5.sql")
StreamReader sr = New StreamReader("upgrade.sql")
While(!sr.EndOfStream)
{
process.StandardInput.WriteLine(sr.ReadLine())
}
'End While
红代码报错:提示(!sr.EndOfStream)在While内,如何处理?
'sr.Close()
蓝代码报错:提示上下文不可访问,如何处理?
proc.Close()
[此贴子已经被作者于2024/3/9 9:32:37编辑过]