public static DataRow GetDetailByField(string tableName, string fieldName, string fieldValue) { return(excelDocument.GetDetailByField(tableName, fieldName, fieldValue.TrimStart(' ').TrimEnd(' '))); }