newbie question

  • Thread starter Thread starter Auddog
  • Start date Start date
A

Auddog

I'm wanting to write a help desk program for our company on our intranet.
I've done them before with php, but not asp.net. I was wondering if anyone
could tell me the best way for me to get a list of users from AD so that I
can place them in a drop down list. I've done some reading, but I'm getting
a little confused. Thanks for any help that you may provide.

A
 
Auddog said:
I'm wanting to write a help desk program for our company on our intranet.
I've done them before with php, but not asp.net. I was wondering if anyone
could tell me the best way for me to get a list of users from AD so that I
can place them in a drop down list. I've done some reading, but I'm getting
a little confused. Thanks for any help that you may provide.
retrieve your userlist into a dataview, or datatable. that's just standard
database access stuff, there is 100's of examples out there.

then, databind the dataview onto your drowdown

eg

'these who are the database columns to use
DropDown1.DataValueField = "user_id"
DropDown1.DataTextField = "user_name"

DropDown1.DataSource = MyDataView
DropDown1.DataBind()

for more info http://www.asp.net/Tutorials/quickstart.aspx
 
I was thinking more along the lines of getting the information out of the
AD. Whether to use LPAD or ADO or will I just be able to bind via SQL?

Thanks

A
 
Back
Top