大家好,我有一个datagrid模板,如下:
<asp:TemplateColumn HeaderText="成绩">
<ItemStyle Width="100px"></ItemStyle>
<ItemTemplate>
<FONT face="宋体"> <asp:TextBox id="chengj" Runat="server" Width="80px"></asp:TextBox>
</font>
</ItemTemplate>
</asp:TemplateColumn>为什么我用((TextBox)Data1.Items[1].Cells[5].FindControl("chengj")).Text得不到控件的值呢?
同样的还有一个CheckBox控件,为什么不管我是否选中,它的Checked值总是False呢??
求救,哪为高手指点迷津,谢谢!!!