1.From the Database i have extracted the contents using datatset.
2.with the help of dataset,i m creating an xml file.
3.this xml file gets loaded in a separate folder in my web server.(eg:/data/emp.xml)
4.i will do this when the application starts.
5.when any one of the user try to access a page,
i want to read this xml file using javascript.
since xml file gets downloaded using javascript i dont want to go back to the Web server. so i implemented this way. i.e.My
page wont refreshed again
i can able to do this also.
My doubt is that will this xml file will get downloaded into client machine or not.In other words will this xml file resides physically in client pc or not.
when i searched for this emp.xml it doesnt resides physically.then how we can conclude that it has been downloaded using javascript?
Thanking You,
With Regards,
sathiyajs
con =
New SqlConnection("workstation id=WIN;packet size=4096;user id=sa;password=jktsql;data source=SQLSERVER;persist security info=False;initial catalog=pubs")adr =
New SqlDataAdapter("select * from empjs", con)ds =
New DataSetadr.Fill(ds)
xmldoc =
New XmlDataDocument(ds)xmldoc.Save(System.AppDomain.CurrentDomain.BaseDirectory() + "/Data/emp24.xml")
End If End Sub 1.Retrieving from database.
Regards,
Satheesh
U r just opening and parsing na!!!(Without saving to any URL in
Jscript)...the it wont reside in client machine..
Regards,
Satheesh