ASP.NET Datagrid columns question.

J

jjeffers1

Sorry for crossposting but I'm not sure which group is more active.

I am having problems getting a reference to a column in an
auto-generated asp.net datagid in VS.Net 2003. I remember reading a
while back that if the columns are autogenerated then a datagrid cannot
get a column reference...i.e. the autogenerated columns are not added
to the columns collection.

Does anyone know a workaround? The reason I have to autogenerate the
columns is because depending on some user choices the datasources for
the datagrid can come from vastly different schemas.

Thanks.
 
C

ChaitanyaPKola

Sorry for crossposting but I'm not sure which group is more active.

I am having problems getting a reference to a column in an
auto-generated asp.net datagid in VS.Net 2003. I remember reading a
while back that if the columns are autogenerated then a datagrid cannot
get a column reference...i.e. the autogenerated columns are not added
to the columns collection.

Does anyone know a workaround? The reason I have to autogenerate the
columns is because depending on some user choices the datasources for
the datagrid can come from vastly different schemas.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top