C#客户端程序调用SQL数据库某存储过程
    this.oleDbSelectCommand1.CommandText = "EXEC OUTPUT_FIVE_FILES  "+grdBF_TEMP[selectedrow,0];
this.oleDbSelectCommand1.Connection = this.oleDbConnection1;//SELECTCONNECT设置
this.oleDbSelectCommand1.Connection.Open();//打开连接
this.oleDbSelectCommand1.ExecuteReader(); //执行存储过程
this.oleDbSelectCommand1.Connection.Close();//关闭连接该存储过程执行一些文件输出,最后调用批处理文件执行后台计算程序
exec master..xp_cmdshell 'C:\ansys_compute\ansys_cmd.bat'而后台计算程序大概需要两小时才能算完是不是该存储过程调用批处理文件导致C#程序没有响应的,还是更改设计通过作业来调用该批处理文件,谢谢了