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

Database

 
GeneralRe: SQL Password Validation Does Not Work Pin
Steve S23-Jan-04 2:25
Steve S23-Jan-04 2:25 
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 
I'm not sure there is way to get the count of rows on a sqlDataAdapter.
The sqlDataAdapter.Fill method fills a Dataset or a DataTable. Once the dataset or table is populated you can get the row count from the
Dataset.Tables(0).Rows.Count or DataTable.Rows.Count method.

Dim ds As Dataset
sqlDA.SelectCommand.Connection = cn
sqlDA.Fill(ds)
sqlDA.SelectCommand.Connection = Nothing
Return dataset

With the dataset or DataTable populated you can obtain the rowcount by doing the following:

ds.Tables(0).Rows.Count
dt.Rows.Count

Michael
AnswerRe: Count rows with SqlDataAdapter?? Pin
Mike Dimmick23-Jan-04 0:17
Mike Dimmick23-Jan-04 0:17 
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 

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.