初学.net,所以在写一个留言版的程序。。在“修改”这里出现了问题。。我是用FP来编写界面。<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="修改" CancelText="取消" EditText="编辑"></asp:EditCommandColumn>这句的地方,在FP的“设计”界面显示这个错误:错误 - value cannot be null.parameter name:child调试程序时不会显示出来的怎么解决

解决方案 »

  1.   

    <asp:Repeater  ID="Repeater1"  runat="server"><Itemtemplate>
    <table border="1" width="98%" cellspacing="0" cellpadding="0" id="table4" height="200">
    <tr>
    <td width="179" rowspan="3">
    <p align="center"><img border="0" src="face/<%#DataBinder.Eval(Container.DataItem,"gb_sex")%>.gif" width="32" height="32"><p align="center">
    Name:<%#DataBinder.Eval(Container.DataItem,"gb_name")%></td>
    <td height="25">
    <div align="center">
    <table border="0" width="98%" cellspacing="0" cellpadding="0" id="table5">
    <tr>
    <td><%#DataBinder.Eval(Container.DataItem,"gb_title")%></td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    <tr>
    <td valign="top">
    <div align="center">
    <table border="0" width="98%" cellspacing="0" cellpadding="0" id="table6" height="100">
    <tr>
    <td valign="top"><%# DataBinder.Eval(Container.DataItem,"gb_content")%></td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    <tr>
    <td height="25">
    <div align="center">
    <table border="0" width="98%" cellspacing="0" cellpadding="0" id="table7">
    <tr>
     <td><asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="修改" CancelText="取消" EditText="编辑"></asp:EditCommandColumn></td> <============这行!!
    </tr>
    </table>
    </div>
    </td>
    </tr>
    </table>
    <br>
    </Itemtemplate></asp:Repeater>