Gridview

G

Guest

Okay, I have done this in ASP .Net 1.1 numerous times, so I am not sure why
this would be so difficult in ASP .Net 2.0

I have an import wizard on a web page. The first part of the wizard allows
the user to select a file to upload, the second shows the records that will
be imported in a gridview, and then the records are imported when the user
confirms the records.

The file uploads, and a generic list is created. I set the datasource of
the gridview to the generic list, and nothing happens. The grid does not
display any records.

I don't understand this, I have done this with the old datagrid a dozen
times. The gridview says its datasource property can either be set to a
datasource control or anything that implements IEnumerable. The generic
collections do expose IEnumerable. Has anyone gotten the new grid control to
bind programatically or is this another databinding feature that is no longer
available?
 

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

Top