Click here to Skip to main content
15,506,865 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Isn't This Fun? (ASP Session Problem) Pin
Roger Wright16-Jun-03 8:30
professionalRoger Wright16-Jun-03 8:30 
GeneralRe: Isn't This Fun? (ASP Session Problem) Pin
Rocky Moore16-Jun-03 15:59
Rocky Moore16-Jun-03 15:59 
GeneralRe: Isn't This Fun? (ASP Session Problem) Pin
Roger Wright16-Jun-03 16:32
professionalRoger Wright16-Jun-03 16:32 
GeneralIXMLHTTPRequest returning XML data from cache Pin
tcs31-May-03 7:30
tcs31-May-03 7:30 
GeneralWebService Behavior Pin
theJazzyBrain31-May-03 2:48
theJazzyBrain31-May-03 2:48 
GeneralNPV from VBScript in ASP page Pin
PJM10030-May-03 6:27
sussPJM10030-May-03 6:27 
GeneralData Reader Serialisation in web service Pin
shalender29-May-03 2:25
shalender29-May-03 2:25 
GeneralRe: Data Reader Serialisation in web service Pin
Jeffry van de Vuurst29-May-03 10:16
Jeffry van de Vuurst29-May-03 10:16 
You cannot serialize a datareader as far as I know. It doesn't implement the ISerializable interface. However, it does inherit from MarshalByRefObject so you could return a reference to the datareader from your webservice.

So you could do something like this:
SqlDataReader dr = myWebService.GetDatareader();

Just be sure to close the connection when you're done with the datareader!

Depending on your needs, you might be better of with a DataSet, e.g. if you need to hold on to the data for a while.

HTH,
Jeffry
Generaljust got broadband!!! Pin
stephen.hazel28-May-03 20:19
stephen.hazel28-May-03 20:19 
GeneralRe: just got broadband!!! Pin
J. Dunlap28-May-03 20:53
J. Dunlap28-May-03 20:53 
GeneralRe: just got broadband!!! Pin
SimonS31-May-03 13:07
SimonS31-May-03 13:07 
GeneralWin ME - PWS Pin
Sarvesvara (BVKS) Dasa28-May-03 5:42
Sarvesvara (BVKS) Dasa28-May-03 5:42 
GeneralRe: Win ME - PWS Pin
TPN29-May-03 20:42
TPN29-May-03 20:42 
GeneralRe: Win ME - PWS Pin
super29-May-03 22:53
professionalsuper29-May-03 22:53 
GeneralRe: Win ME - PWS Pin
Sarvesvara (BVKS) Dasa1-Jun-03 1:26
Sarvesvara (BVKS) Dasa1-Jun-03 1:26 
Generalinstantiate .NET type inside web page Pin
Michal Januszczyk27-May-03 11:11
sussMichal Januszczyk27-May-03 11:11 
GeneralRe: instantiate .NET type inside web page Pin
John Kuhn29-May-03 11:39
John Kuhn29-May-03 11:39 
QuestionCreating Simple Password Protection : the Best Way? Pin
Burty27-May-03 1:37
Burty27-May-03 1:37 
AnswerRe: Creating Simple Password Protection : the Best Way? Pin
Roger Wright27-May-03 7:40
professionalRoger Wright27-May-03 7:40 
GeneralRe: Creating Simple Password Protection : the Best Way? Pin
antbates28-May-03 5:55
antbates28-May-03 5:55 
GeneralRe: Creating Simple Password Protection : the Best Way? Pin
Roger Wright28-May-03 6:21
professionalRoger Wright28-May-03 6:21 
GeneralRe: Creating Simple Password Protection : the Best Way? Pin
antbates29-May-03 2:02
antbates29-May-03 2:02 
GeneralWeb Crawler or Web Spider Books Pin
Steve ParmIey25-May-03 18:41
Steve ParmIey25-May-03 18:41 
GeneralRe: Web Crawler or Web Spider Books Pin
Sarvesvara (BVKS) Dasa26-May-03 7:06
Sarvesvara (BVKS) Dasa26-May-03 7:06 
GeneralWeb Crawler or Web Spider Books Pin
Steve ParmIey25-May-03 14:52
Steve ParmIey25-May-03 14:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.