Solved

Pass Datagrid

Posted on 2003-11-19
1
219 Views
Last Modified: 2010-04-16
Hey is there a quick and easy way to just pass a Datagrid or DataAdapter between pages?
I would prefer not to pass it using the ?= in the http.
I would also prefer not to use session variables.
Anyway to just pass the datagrid once between 2 pages?
0
Comment
Question by:jj819430
1 Comment
 
LVL 4

Accepted Solution

by:
astankovic earned 500 total points
ID: 9780315
Why do you need to pass DataGrid between pages? I think its not the best design approach. It would be better to just re bind the DataGrid from the data source on both pages. Or better yet, cache the data when the data is accessed on the first page and then just populate the DataGrid on the second page from that cache.

That way you can use the data for other controls too, not just that one DataGrid.

Alex
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question