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
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
virendra aPosted Jun 25, 2009, 5:47 AM
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