Solved

Pass Datagrid

Posted on 2003-11-19
1
217 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

914 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now