试试先用
DataSet.ReadXml读进一个DataSet
在DataSet中把记录删除
在用DataSet.WriteXml写回去

解决方案 »

  1.   

    1. call XmlNode's parent's RemoveChild method2. see
    http://www.codeproject.com/useritems/DataGridCheckBoxCol.asporsimply do
    <asp:TemplateColumn>
      <ItemTemplate>
        <asp:CheckBox id=chk runat=server />
      </ItemTemplate>
    </asp:TemplateColumn>
      

  2.   

    动态增加
    http://www.codeproject.com/aspnet/DataGridCheckBox.asp
      

  3.   

    use the XmlDocument class's GetElementsByTabName method and the XmlNode class's RemoveChild method.