V
Volkan Karaboða
Hi all...
I have a problem while trying to prepare an xml file
I have a function like below
Public Function readxml() As XmlDocument()
Dim doc As New XmlDocument()
doc.Load("c:\deneme.xml")
Return doc
End Function
when I call this function like below I recieve an error at the row indicated
with(!!) couldy tell me please where the my foult is??
thanks...
Private Sub b_giris_Click(ByVal sender As System.Object, ByVal e As
System.Web.UI.ImageClickEventArgs) Handles b_giris.Click
Dim xx As New localhost.Service1()
Dim doc As New System.Xml.XmlDocument()
Dim doldu As Boolean = xx.preparaxml()
If doldu = True Then
!!doc = CType(xx.readxml, System.Xml.XmlDocument)
doc.Save("c:\deneme1.xml")
end if
End Sub
I have a problem while trying to prepare an xml file
I have a function like below
Public Function readxml() As XmlDocument()
Dim doc As New XmlDocument()
doc.Load("c:\deneme.xml")
Return doc
End Function
when I call this function like below I recieve an error at the row indicated
with(!!) couldy tell me please where the my foult is??
thanks...
Private Sub b_giris_Click(ByVal sender As System.Object, ByVal e As
System.Web.UI.ImageClickEventArgs) Handles b_giris.Click
Dim xx As New localhost.Service1()
Dim doc As New System.Xml.XmlDocument()
Dim doldu As Boolean = xx.preparaxml()
If doldu = True Then
!!doc = CType(xx.readxml, System.Xml.XmlDocument)
doc.Save("c:\deneme1.xml")
end if
End Sub