|
-
Jun 13th, 2005, 05:12 AM
#1
Thread Starter
Junior Member
SqlDataReader
i have SqlDataReader variable in one page which
retrive results from database and i want to dispaly results in another page
i tried using application object but the following error appears
Invalid attempt to read when no data is present
-
Jun 13th, 2005, 05:52 AM
#2
Member
Re: SqlDataReader
Try using a DataSet instead. SQLDataReader's need an open connection to work correctly. In all probablity when you Redirect to the second page, the reference to the connection is killed and hence it doesnt work.
Nikhil Aggarwal

-
Jun 13th, 2005, 07:12 AM
#3
Re: SqlDataReader
Why not re-retrieve the data in the second page?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|