|
 |
aspx_beginners thread: reagarding datareader
Message #1 by "Ashish M.bhonkiya" <Ashishm@p...> on Wed, 29 Jan 2003 10:12:47 +0530
|
|
hi group,
i want to know what method of oledbdatareader object shoul i use to know if
the datareader has some records.
same as what we do
if rst.eof and rst.bof
i need the equivalent statement for oledbdatareader how will i do it.
thanks
Bhonkiya Ashish M.
Member Technology
Propmart Technologies Ltd.
2 Floor, St Patrick's Commercial Complex,15 K Brigade Road, Bangalore 560
025
* +xx-xx-xxxxxxx
* ashishm@p...
Please visit us at http://www.propmart.com <http://www.propmart.com/>
Message #2 by "Rohit Arora" <rohit_arora@i...> on Wed, 29 Jan 2003 10:52:26 +0530
|
|
use if (datareader.Read()) if it returns true u hv records, otherwise ur
query hasn't returned any record.
***It is just like forward readonly recordset.
-----Original Message-----
From: Ashish M.bhonkiya [mailto:Ashishm@p...]
Sent: Wednesday, January 29, 2003 10:13 AM
To: aspx_beginners
Subject: [aspx_beginners] reagarding datareader
hi group,
i want to know what method of oledbdatareader object shoul i use to know if
the datareader has some records.
same as what we do
if rst.eof and rst.bof
i need the equivalent statement for oledbdatareader how will i do it.
thanks
Bhonkiya Ashish M.
Member Technology
Propmart Technologies Ltd.
2 Floor, St Patrick's Commercial Complex,15 K Brigade Road, Bangalore 560
025
* +xx-xx-xxxxxxx
* ashishm@p...
Please visit us at http://www.propmart.com <http://www.propmart.com/>
Message #3 by "Ashish M.bhonkiya" <Ashishm@p...> on Wed, 29 Jan 2003 11:09:11 +0530
|
|
thankx rohit...
-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Wednesday, January 29, 2003 10:52 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: reagarding datareader
use if (datareader.Read()) if it returns true u hv records, otherwise ur
query hasn't returned any record.
***It is just like forward readonly recordset.
-----Original Message-----
From: Ashish M.bhonkiya [mailto:Ashishm@p...]
Sent: Wednesday, January 29, 2003 10:13 AM
To: aspx_beginners
Subject: [aspx_beginners] reagarding datareader
hi group,
i want to know what method of oledbdatareader object shoul i use to know if
the datareader has some records.
same as what we do
if rst.eof and rst.bof
i need the equivalent statement for oledbdatareader how will i do it.
thanks
Bhonkiya Ashish M.
Member Technology
Propmart Technologies Ltd.
2 Floor, St Patrick's Commercial Complex,15 K Brigade Road, Bangalore 560
025
* +xx-xx-xxxxxxx
* ashishm@p...
Please visit us at http://www.propmart.com <http://www.propmart.com/>
Message #4 by "Rohit Arora" <rohit_arora@i...> on Wed, 29 Jan 2003 12:47:26 +0530
|
|
u r most welcome
-----Original Message-----
From: Ashish M.bhonkiya [mailto:Ashishm@p...]
Sent: Wednesday, January 29, 2003 11:09 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: reagarding datareader
thankx rohit...
-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Wednesday, January 29, 2003 10:52 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: reagarding datareader
use if (datareader.Read()) if it returns true u hv records, otherwise ur
query hasn't returned any record.
***It is just like forward readonly recordset.
-----Original Message-----
From: Ashish M.bhonkiya [mailto:Ashishm@p...]
Sent: Wednesday, January 29, 2003 10:13 AM
To: aspx_beginners
Subject: [aspx_beginners] reagarding datareader
hi group,
i want to know what method of oledbdatareader object shoul i use to know if
the datareader has some records.
same as what we do
if rst.eof and rst.bof
i need the equivalent statement for oledbdatareader how will i do it.
thanks
Bhonkiya Ashish M.
Member Technology
Propmart Technologies Ltd.
2 Floor, St Patrick's Commercial Complex,15 K Brigade Road, Bangalore 560
025
* +xx-xx-xxxxxxx
* ashishm@p...
Please visit us at http://www.propmart.com <http://www.propmart.com/>
|
|
 |