/// <summary>
/// 将指定索引列的数据相同的行合并,对指定WorkSheet操作
/// </summary>
/// <param name="columnIndex">要合并的列索引</param>
/// <param name="beginRowIndex">合并开始行索引</param>
/// <param name="rows">要合并的行数</param>
private void MergeRows(Excel.Worksheet sheet,int columnIndex,int beginRowIndex,int rows)
{
int beginIndex = beginRowIndex;
int count = 0;
string text1;
string text2;
if(sheet == null)
return;