How to pull dataset from SqlDataSource ASP 2.0

B

bcornett

I am needing a way to extract a dataset from a sqldatsource. I am
doing this to create a Generic Printing page. I will pass the dataset
and an arraylist of grid_view propeties to this Generic Page to
populate a generic grid_view. I have tried several approaches but to
no avail.
As from what I have read, I may not be able to peform the tasks that I
am wanting to do. If the article that I was reading is correct, the
sqldatasource stores the created dataset into memory and is not
accessible. My issue is that I have to have a dataset to pass in and
I am unable to get to the dataset generated by the sqldatasource. I
may have to rip out the sqdatasource stuff and go back to the asp 1.1
methods. More coding due to paging/sorting but atleast I can get to
the elements I need. Any Ideas?
 
G

Guest

I would rip out the 2.0 stuff in this case. SqlDataSource is great for when
you can drag and drop. It is not the best when you need to customize ONLY
certain bits of the data access. Once you step outside of the box in one
location, you are best to abandon the box. :)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,075
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top