/// <summary>
/// 多SQL语句操作--事务处理
/// </summary>
/// <param name="sqlComm">SQL语句数组</param>
/// <returns>事务,返回String事务结果</returns>
public string DoTran(string[] sqlComm)
{
if (connection.State.ToString() == "Closed")
connection.Open();
SqlTransaction myTran;
myTran = connection.BeginTransaction();
//string mess;
SqlCommand command = new SqlCommand("",connection,myTran);
//command.Connection = connection;
try
{
foreach (string comm in sqlComm)
{
command.CommandText = comm;
command.ExecuteNonQuery();