else if(datasource is datatable)
{
if(((datatable)datasource).rows.count <= 0)
{
return;
}
_pagedatasource = ((datatable)datasource).clone();
for(int i = 0;i<((datatable)datasource).rows.count;i++)
{
datarow drrow = _pagedatasource.newrow();
drrow.itemarray = ((datatable)datasource).rows[i].itemarray;
_pagedatasource.rows.add(drrow);