473,387 Members | 1,742 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,387 software developers and data experts.

Dataread

Bonsoir,
j'aurais aimé savoir s'il etait possibl;e d'acceder a une ligne specifique
d'un datareader (donc pas de while(dr.read()) et si cette methode est plus
rapide d'acces qu'une boucle

Merci
Nov 16 '05 #1
3 1655
Its not clear what you have typed. Guessing by what u have typed the
solution would be using '!' which means not

while(!dr.Read())

--
Tarkeshwar
CCIE Q(Routing and Switching)
Fifth Generation Technologies

"ousta" <ou******@hotmail.com> wrote in message
news:eG**************@TK2MSFTNGP09.phx.gbl...
Bonsoir,
j'aurais aimé savoir s'il etait possibl;e d'acceder a une ligne specifique
d'un datareader (donc pas de while(dr.read()) et si cette methode est plus
rapide d'acces qu'une boucle

Merci

Nov 16 '05 #2
Sorry NewsGroup Error :)
Is there any method for find a specific line of the dataread.

Not with while(!dr.Read)
"Tarakeshwar L" <l.***********@fifthgentech.com> a écrit dans le message de
news:OL**************@TK2MSFTNGP11.phx.gbl...
Its not clear what you have typed. Guessing by what u have typed the
solution would be using '!' which means not

while(!dr.Read())

--
Tarkeshwar
CCIE Q(Routing and Switching)
Fifth Generation Technologies

"ousta" <ou******@hotmail.com> wrote in message
news:eG**************@TK2MSFTNGP09.phx.gbl...
Bonsoir,
j'aurais aimé savoir s'il etait possibl;e d'acceder a une ligne specifique d'un datareader (donc pas de while(dr.read()) et si cette methode est plus rapide d'acces qu'une boucle

Merci


Nov 16 '05 #3
Hi,

Are you talking about a DataReader ?

IF so the answer is not, the DataReader is a readonly, forward only cursor.

If it's a binary file then you can use FileStream.Seek .

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"ousta" <ou******@hotmail.com> wrote in message
news:en**************@TK2MSFTNGP15.phx.gbl...
Sorry NewsGroup Error :)
Is there any method for find a specific line of the dataread.

Not with while(!dr.Read)
"Tarakeshwar L" <l.***********@fifthgentech.com> a écrit dans le message de news:OL**************@TK2MSFTNGP11.phx.gbl...
Its not clear what you have typed. Guessing by what u have typed the
solution would be using '!' which means not

while(!dr.Read())

--
Tarkeshwar
CCIE Q(Routing and Switching)
Fifth Generation Technologies

"ousta" <ou******@hotmail.com> wrote in message
news:eG**************@TK2MSFTNGP09.phx.gbl...
Bonsoir,
j'aurais aimé savoir s'il etait possibl;e d'acceder a une ligne specifique d'un datareader (donc pas de while(dr.read()) et si cette methode est plus rapide d'acces qu'une boucle

Merci



Nov 16 '05 #4

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

Similar topics

1
by: ad | last post by:
I new a buffer for read file: How to detriminate the BolockSize when new the buffer? ...
7
by: mosipenko | last post by:
I have a website that has articles and images. The articles are stored in one table, and if they have an image associated with them, it's stored in another table with a common id linking them. I...
15
by: mosipenko | last post by:
I used to have a problem with DBNull, but now my issue is: System.InvalidOperationException: Invalid attempt to read when no data is present Here's my code behind: Private Sub...
11
by: Olie | last post by:
This post is realy to get some opinions on the best way of getting fast comunication between multiple applications. I have scowered the web for imformation on this subject and have just found...
2
by: SharpCoderMP | last post by:
I'm having troubles with uploading files to the ftp server using FtpWebRequest. I occasionally get an Exception saying: "The underlying connection was closed: An unexpected error occurred on a...
0
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
0
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
3
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
1
by: feariel | last post by:
hi, i am a beginner in programming and new to c# as well. i am using c# to access an access database that has one table named people. the table has three columns: firstName lastName TZ. i...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.