Re: editing / updating dynamic dgrid



try something like this, it should alleviate postback problems

Private Sub BindGrid()
' binding code
End Sub

and then inside the Page_Load function put...

If Not Page.IsPostBack Then
BindGrid()
End If

and finally, inside your update method, after you have updated the
data, call BindGrid().

Then you won't have problems with postback and losing data.

.


Loading