Active Directory Users to Sql Server Table

I am trying to retrieve all the users in the Active Directory and dump into a Sql Server Table(Sql2008). I was able to search one employee at a time but could not able to search all the employees in the Active Directory. Basically i want to retrieve 1.SamAccountname and 2.Employeenumber. Can you guys help me with the code?I am using VS2010/VB.NET/ASP.NET. Appreciate your help. Thanks