Hello,
can anyone tell me how to display the AD user's data in a gridview.
so i have them on variables but i don't know how to pass this variables to a gridview.
thanks in advance to you all.
regards,
elai
Display AD users data in a gridview
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
virendra a10 pointsPosted Jun 25, 2009, 1:47 AM EDT
for eg:
ArrayList al = new ArrayList();
al.Add("AD user's data");
now let's say ur GridView object is dg then do the following:
dg.DataSource = al;
dg.DataBind();
That's it! if u still missed out...do reply here