G
Guest
hey all,
i saw the following in an article:
<asp
ataGrid id="grdOrder" Runat="server"
OnPageIndexChanged="grdOrder_OnPageIndexChanged"
OnItemCommand="grdOrder_OnItemCommand"
OnEditCommand="grdOrder_OnEditCommand"
OnUpdateCommand="grdOrder_OnUpdateCommand"
OnCancelCommand="grdOrder_OnCancelCommand"
What I want to know is, normally what i'm accustomed to is in the
code-behind you can select the datagrid from the left-drop down list and then
in the right drop-down list you can select the event and it will
automatically stub the event procedure for you.
It seems to me there are two different ways to do it. Is there a difference
in doing it one way or another. Can someone please enlighten me on this.
thanks,
rodchar
i saw the following in an article:
<asp
OnPageIndexChanged="grdOrder_OnPageIndexChanged"
OnItemCommand="grdOrder_OnItemCommand"
OnEditCommand="grdOrder_OnEditCommand"
OnUpdateCommand="grdOrder_OnUpdateCommand"
OnCancelCommand="grdOrder_OnCancelCommand"
What I want to know is, normally what i'm accustomed to is in the
code-behind you can select the datagrid from the left-drop down list and then
in the right drop-down list you can select the event and it will
automatically stub the event procedure for you.
It seems to me there are two different ways to do it. Is there a difference
in doing it one way or another. Can someone please enlighten me on this.
thanks,
rodchar