Re: editing / updating dynamic dgrid
- From: "Darren Kopp" <darrenkopp@xxxxxxxxx>
- Date: 23 Feb 2006 14:48:58 -0800
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.
.
- Follow-Ups:
- Re: editing / updating dynamic dgrid
- From: Elton Wang
- Re: editing / updating dynamic dgrid
- References:
- editing / updating dynamic dgrid
- From: dirk van waes
- Re: editing / updating dynamic dgrid
- From: Elton Wang
- editing / updating dynamic dgrid
- Prev by Date: Re: SQL injection?
- Next by Date: Datagrid & column sizing
- Previous by thread: Re: editing / updating dynamic dgrid
- Next by thread: Re: editing / updating dynamic dgrid
- Index(es):
Loading