How to get more 1000 records from a active directory using ado.net
-
hi I got problem while retrieving records from the active directives using ado.net code .There are nearly 5000 records ,but I am getting only 1000 records for any search .What may be reason ..please help. This is the code used for retrieving..
Dim command As New OleDbCommand("<" & strSearchADsPath & ">", Con) Dim adap As New OleDbDataAdapter(Command) Dim cb As New OleDbCommandBuilder(adap) Dim ds As New DataSet adap.Fill(ds, "tabUser")
Thanks Chaitanya -
hi I got problem while retrieving records from the active directives using ado.net code .There are nearly 5000 records ,but I am getting only 1000 records for any search .What may be reason ..please help. This is the code used for retrieving..
Dim command As New OleDbCommand("<" & strSearchADsPath & ">", Con) Dim adap As New OleDbDataAdapter(Command) Dim cb As New OleDbCommandBuilder(adap) Dim ds As New DataSet adap.Fill(ds, "tabUser")
Thanks Chaitanya -
Yeah you are when using VB6 but I want to get it in VB.NET