Best way to populate grid? [modified]
-
Hello, I have 30 thousand records. What would be the best and fastest way to populate the grid? DataSource is the way to go I think. Thank you. -- modified at 16:40 Thursday 26th July, 2007
Yep, that would work. :)
Tech, life, family, faith: Give me a visit. I'm currently blogging about: How could God prove Himself to humanity? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Hello, I have 30 thousand records. What would be the best and fastest way to populate the grid? DataSource is the way to go I think. Thank you. -- modified at 16:40 Thursday 26th July, 2007
Remember to use paging on your data grid. Eliz.K
-
Hello, I have 30 thousand records. What would be the best and fastest way to populate the grid? DataSource is the way to go I think. Thank you. -- modified at 16:40 Thursday 26th July, 2007
30 thousand records in one single grid? Why do you want to do this? No user can scroll through 30 thousand of records!
-^-^-^-^-^- no risk no funk
-
30 thousand records in one single grid? Why do you want to do this? No user can scroll through 30 thousand of records!
-^-^-^-^-^- no risk no funk
-
Dude, did you see the topic of this thread? Did I ask your oppinion if I should populate 30 thousand records or not? IF you have no suggestions, don't post.
Yeah i can read. But you give very few information about what you really want to do. And my opinion is that is is very important to know what your application should do to provide a good solution (and you asked for the best). So I could just say that you should go ahead and put all records into a DataTable and set it as the DataSource of the grid, call DataBind and wait for your browser rendering the page. Or I could say, no better use an ObjectDataSource or SqlDataSource that provides the data to the grid, because this way you could implement paging, sorting much simpler. But both ways are surely not the BEST ways to do it, but without knowing what you want to accomplish, I can not give you a better answer that the ones you already received. So, sorry I tried to help - won't happen again.
-^-^-^-^-^- no risk no funk