I have a gridview which is bound to a sqldatasource and all the columns are sortable.
In the gridview, there is a column which the data is not coming from the datasource and I have to assign it on each databound event. The data is from Active Directory.
The problem is when I try to sort by the above column, I got a error said "Could not find column xyz"
Does anyone know how to fix it or where should I look into it?
In the gridview, there is a column which the data is not coming from the datasource and I have to assign it on each databound event. The data is from Active Directory.
The problem is when I try to sort by the above column, I got a error said "Could not find column xyz"
Does anyone know how to fix it or where should I look into it?