private bool IsSame(DataColumn c, int recNo1, int recNo2) { if (c.Compare(recNo1, recNo2) == 0) return true; return false; }