I need a list of Active Directory fields dynamically - meaning - that i should pass the domain and it should display the list of active directory fields for that domain.

thanks,
jeet

You can use the IDictionary interface. All you have to do is pass the field (AD attribute field) to Dictionary and pass the ResultProperty or The value from the cell to it as its key, then iterate through it.

private Dictionary<string, ResultProperty>[] GetDataReader(string Fields, string Table, string Conditions)