DataGrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My Datagrid won't show on webpage. Any Ideas?

It is linked to a datasource, datamember and datakeyfield and visible is set
to true.
 
I sussed it:

DataSet11.Clear()
DataGrid.DataBind()

Why does it not navigate through pages when the page navigation buttons are
present?
 
Hi Niggy,

Typically in DataGrid_PageIndexChanged, code is like follows

DataGrid.CurrentPageIndex = e.NewPageIndex;
DataGrid.DataSource = dataObject;
DataGrid.DataBind();

HTH

Elton Wang
(e-mail address removed)
 

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

Back
Top