473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

sqldatareader.HasRows

AJ
I'm trying to use this property but the compiler doesn't
understand HasRows and the documentation says I need 1.1
of the framework and looking in my "add or remove
programs" I have the framework for 1.0.3705 and 1.1. My
documentation is old too because HasRows doesn't exist.

csc.exe says .net Framework 1.0.3705.

So what should I do? Uninstall 1.0.3705 and reinstall 1.1?
Or is there an entry in my web.config or machine.config to
tell what version of the framework to use?

thanks alot,
AJ
Nov 18 '05 #1
1 2242
"AJ" wrote ...
I'm trying to use this property but the compiler doesn't
understand HasRows and the documentation says I need 1.1
of the framework and looking in my "add or remove
programs" I have the framework for 1.0.3705 and 1.1. My
documentation is old too because HasRows doesn't exist.

csc.exe says .net Framework 1.0.3705.

So what should I do? Uninstall 1.0.3705 and reinstall 1.1?
Or is there an entry in my web.config or machine.config to
tell what version of the framework to use?


I think this link might help you, we had to follow these steps at the office
to enable some bits and pieces to work, and also the opposite way around to
prevent 1.1 interferring with an older app...

http://www.microsoft.com/technet/tre..._regiisexe.asp

Hope this helps..

Regards

Rob
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: relaxory | last post by:
If I'm doing a select WHERE' searching for a string... What is the best way to condition a response based on whether the datareader contains data or not? while (myReader.Read()) { if...
1
by: Claudia Fong | last post by:
Hi, I'm using the oleDbDataReader HasRows properties to detect wheter my table contains a record with the parameter below: oleDbConnection1.Close(); objreturnst.Parameters.Value =...
2
by: Matt | last post by:
I just want to get the value of field UserName and Password in SqlDataReader object dr. But it yeields run-time error "Invalid attempt to read when no data is present" on line dr("UserName") and...
2
by: Stijn Verrept | last post by:
I am having the same problem as the person in this thread mentions: http://groups.google.be/groups?q=asp+net+empty+datareader+hasrows&hl=nl&...
0
by: Max | last post by:
I'm having some problems using SqlDataReader in the Microsoft.ApplicationBlocks.Data.SqlHelper class. In some cases it seems that the cursor does not move, and I'm not sure what is causing this. ...
2
by: TN Bella | last post by:
PLEASE HELP!! I am so far behind....and it doesn't help that I am learning all this stuff. I am using .net framework 1.0 from WebMatrix. These parameters get me all confused...someone please help!...
4
by: Sosh123 | last post by:
Hi, Could anybody suggest a way of checking for an empty datareader, without using Read()? Thanks
1
by: Rick | last post by:
I have found the HasRows member of the OleDbConnection. This is very nice to tell me if I have any data coming but what if I want to see how many rows of data I have. Is there a similar member to...
13
by: lithoman | last post by:
I'm stumped here. I run the procedure Batch_Select against the database with @ID=18 and I get the expected data. When it loads into a SqlDataReader, it gets messed up somehow. Initially, after the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.