if(row!=null){obj=Activator.CreateInstance();foreach(DataColumncolumninrow.Table.Columns){PropertyInfoprop=obj.GetType().GetProperty(column.ColumnName);try{obje