DataGrid contains no data after postback of edit button click...

  • Thread starter Thread starter Andrew Connell
  • Start date Start date
A

Andrew Connell

This is specifically what is going on in my application:
http://msdn.microsoft.com/asp.net/u...akes.asp#aspnet-commondatagridmistakes_topic6

However, regardless of how I bind my dataset... it keeps showing up without data. Here's the code in my edit handler (GetApplicationReleases returns a dataset):

Private Sub ApplicationReleaseDataGrid_EditCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles ApplicationReleaseDataGrid.EditCommand
ApplicationReleaseDataGrid.EditItemIndex = e.Item.ItemIndex
ApplicationReleaseDataGrid.DataSource = _application.GetApplicationReleases
ApplicationReleaseDataGrid.DataBind()
End Sub
 
Back
Top