Solved

Pass Datagrid

Posted on 2003-11-19
1
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# XML Get Values 4 51
Health check of winows and webservces 5 50
Example code 13 42
C# Web service insert into Oracle table 8 36
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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

737 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