datatable having more then 400000 records please
This is good way show the data in grid. Not, only on grid, I will say anywhere. Did you think about the performace of the page ? And what to do you 400000 data at time. Try to use filter and show only those data which needed. Don't go for showing this amount of huge data.