Wrox Home  
Search P2P Archive for: Go

  Return to Index  

ado_dotnet thread: ado.net equivalent of recordset.getrows()???


Message #1 by Duane Douglas <ddouglas@m...> on Mon, 11 Mar 2002 11:57:27 -0500
hi everyone,



is there an ado.net equivalent of recordset.getrows()?  i want to represent 

a datarows object as an array.



tia 



Message #2 by "Amir wyne" <amirwyne@h...> on Mon, 11 Mar 2002 19:05:47 +0000
'consider the following objects

         Dim ds as DataSet=New DataSet

         Dim tb as DataTable=New DataTable

         tb=ds.Table(0)



'assuming the dataset.already filled and opend

' Declare an array of DataRow



Dim r() as DataRow=tb.Select



'the above line of code accutually create array of DataRow



AMIR-WYNE



_________________________________________________________________

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.




  Return to Index