you can do it using following code.
Imports System
Imports System.Xml
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim doc As New XmlDocument()
doc.Load(Server.MapPath("XMLFile.xml"))
Dim node As XmlNode = doc.SelectSingleNode("//item[tag/text()='tpEdit']/phrase")
If Not node Is Nothing Then
textbox1.text = node.InnerXml
End If
End Sub
End Class
Imports System
Imports System.Xml
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim doc As New XmlDocument()
' for example; if you want to read the XMLFile.xml to get contents.
doc.Load(Server.MapPath("XMLFile.xml"))
Dim node As XmlNode = doc.SelectSingleNode("//item[tag/text()='tpEdit']/phrase")
If Not node Is Nothing Then
textbox1.text = node.InnerXml
End If
End Sub
End Class
If my post solves your problem, please mark it as an answer.