Click here to Skip to main content
16,005,826 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Password Validation Does Not Work Pin
Mazdak23-Jan-04 2:32
Mazdak23-Jan-04 2:32 
GeneralRe: SQL Password Validation Does Not Work Pin
Mike Dimmick26-Jan-04 2:44
Mike Dimmick26-Jan-04 2:44 
GeneralFormatting MSDE Output Pin
monrobot1322-Jan-04 18:52
monrobot1322-Jan-04 18:52 
GeneralRe: Formatting MSDE Output Pin
Not Active23-Jan-04 3:51
mentorNot Active23-Jan-04 3:51 
GeneralRe: Formatting MSDE Output Pin
monrobot1323-Jan-04 10:54
monrobot1323-Jan-04 10:54 
QuestionCount rows with SqlDataAdapter?? Pin
hxxbin22-Jan-04 11:52
hxxbin22-Jan-04 11:52 
AnswerRe: Count rows with SqlDataAdapter?? Pin
-Dr_X-22-Jan-04 12:13
-Dr_X-22-Jan-04 12:13 
AnswerRe: Count rows with SqlDataAdapter?? Pin
Mike Dimmick23-Jan-04 0:17
Mike Dimmick23-Jan-04 0:17 
I think you meant SqlDataReader (the rest of the code looks like that).

There's no way to find out in advance how many rows are going to be retrieved. The SqlDataReader won't allow you to rewind anyway.

If you need to store the data temporarily (maybe you need to do multiple passes over it?), consider a DataTable. If that has too much overhead for you, use some automatically-growing data structure such as an ArrayList - you can always use the ArrayList's CopyTo method to copy it to an array once you've retrieved all the data.
GeneralRe: Count rows with SqlDataAdapter?? Pin
hxxbin26-Jan-04 4:38
hxxbin26-Jan-04 4:38 
GeneralDatabase name via ADO Pin
Mike Eriksson22-Jan-04 1:03
Mike Eriksson22-Jan-04 1:03 
GeneralAccess query Pin
toticow22-Jan-04 0:28
susstoticow22-Jan-04 0:28 
GeneralRe: Access query Pin
gpa200022-Jan-04 0:42
gpa200022-Jan-04 0:42 
GeneralRe: Access query Pin
totig22-Jan-04 0:44
totig22-Jan-04 0:44 
GeneralRe: Access query Pin
Roger Wright22-Jan-04 14:42
professionalRoger Wright22-Jan-04 14:42 
GeneralRe: Access query Pin
Mike Dimmick23-Jan-04 0:21
Mike Dimmick23-Jan-04 0:21 
QuestionViewing the contents of a .mdb (Access) database? Pin
IGx8921-Jan-04 7:00
IGx8921-Jan-04 7:00 
AnswerRe: Viewing the contents of a .mdb (Access) database? Pin
Mazdak21-Jan-04 7:07
Mazdak21-Jan-04 7:07 
GeneralRe: Viewing the contents of a .mdb (Access) database? Pin
IGx8921-Jan-04 7:32
IGx8921-Jan-04 7:32 
GeneralRe: Viewing the contents of a .mdb (Access) database? Pin
Guillermo Rivero21-Jan-04 7:49
Guillermo Rivero21-Jan-04 7:49 
GeneralRe: Viewing the contents of a .mdb (Access) database? Pin
IGx8921-Jan-04 12:01
IGx8921-Jan-04 12:01 
GeneralRe: Viewing the contents of a .mdb (Access) database? Pin
totig22-Jan-04 0:30
totig22-Jan-04 0:30 
GeneralRe: Viewing the contents of a .mdb (Access) database? Pin
IGx8922-Jan-04 3:43
IGx8922-Jan-04 3:43 
GeneralRe: Viewing the contents of a .mdb (Access) database? Pin
Mazdak21-Jan-04 7:56
Mazdak21-Jan-04 7:56 
GeneralConnectionTransact error Pin
Keith Worden21-Jan-04 1:15
Keith Worden21-Jan-04 1:15 
GeneralRe: ConnectionTransact error Pin
Mike Dimmick21-Jan-04 2:53
Mike Dimmick21-Jan-04 2:53 

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.