protected void OnRowCommand(object sender, GridViewCommandEventArgs e)
    {
         if (e.CommandName == "OnRowDelete")
         {
             int i = int.Parse(e.CommandArgument.ToString());
             ds.Tables[0].Rows[i]["Active"] = "N";
             ds.WriteXml(Request.PhysicalApplicationPath + @"\Items.xml");
             this.BindGrid();
         }
}
