Hi guys.. i getting this error when i tried to remove item in xml file.
overload resolution failed because no accessible 'Where' can be called with this arguments.
Protected Sub BulkDelete(ByVal sender As Object, ByVal e As EventArgs) For Each row As GridViewRow In Me.GridView.Rows If row.RowType = DataControlRowType.DataRow Then Dim isChecked As Boolean = row.Cells(0).Controls.OfType(Of CheckBox)().FirstOrDefault().Checked If isChecked Then Dim xmldoc As XDocument = XDocument.Load(Server.MapPath("~/App_Data/Testimonial.xml")) xmldoc.Root.Elements("Details").Where(Function(p) p.Element("id").Value = Me.txt_ID.Text).Remove() xmldoc.Save(Server.MapPath("~/App_Data/Testimonial.xml")) End If End If Next End S ...

Go to the complete details ...