Hi,
i'm a little bit confused about the events GridView1_RowDa taBound and
GridView1_RowCr eated.
1) Which is executed first?
2) if i want to fetch the value of a field using this code:
dim a as string
a = e.Row.Cells(2). Text
in which event do i have to do that?
3) there is a dropdownlist in aspx file embebbed in a template like this:
<asp:TemplateFi eld >
<EditItemTempla te>
<asp:DropDownLi st ID="DropDownLis t1" runat="server" >
</asp:DropDownLis t>
</EditItemTemplat e>
</asp:TemplateFie ld>
i want to access it with this code:
dim dd as dropdownlist
dd = e.Row.FindContr ol("DropDownLis t1")
in which event do i have to do that?
Thanks
Bob
i'm a little bit confused about the events GridView1_RowDa taBound and
GridView1_RowCr eated.
1) Which is executed first?
2) if i want to fetch the value of a field using this code:
dim a as string
a = e.Row.Cells(2). Text
in which event do i have to do that?
3) there is a dropdownlist in aspx file embebbed in a template like this:
<asp:TemplateFi eld >
<EditItemTempla te>
<asp:DropDownLi st ID="DropDownLis t1" runat="server" >
</asp:DropDownLis t>
</EditItemTemplat e>
</asp:TemplateFie ld>
i want to access it with this code:
dim dd as dropdownlist
dd = e.Row.FindContr ol("DropDownLis t1")
in which event do i have to do that?
Thanks
Bob
Comment