R Ravikanth[MVP] Aug 7, 2003 #2 Hi if dt is your DataTable Check row Count 1.dt.Rown.Count 2. dt == null HTH Ravikanth[MVP]