How to save dynamic information on user client computer
Keywords: How to save dynamic information on user client computer, How to save a file that has not been created on user computer, how to save a file in memory on user computer
1. Convert the data in the file that you want to write into String
2. Then do as below
'here str is a string
Dim str As String = "THIS IS AN XML FILE"
Response.ContentType = "application/octet-stream"
Response.AddHeader("Content-Disposition", "attachment; filename=ad.xml")
Response.Write(str)
Response.End()
1. Convert the data in the file that you want to write into String
2. Then do as below
'here str is a string
Dim str As String = "THIS IS AN XML FILE"
Response.ContentType = "application/octet-stream"
Response.AddHeader("Content-Disposition", "attachment; filename=ad.xml")
Response.Write(str)
Response.End()
2 Comments:
At 11:19 PM ,
柯云 said...
2015-12-24keyun
hollister kids
coach outlet
cheap uggs
ugg outlet store
cheap uggs sale
louis vuitton purses
louis vuitton outlet
michael kors outlet store
oakley sunglasses sale
cheap oakleys
louis vuitton outlet
ralph lauren sale
michael kors outlet online
louis vuitton purses
toms
ugg boots outlet
michael kors outlet sale
oakley store
polo ralph lauren
p90x
abercrombie
louis vuitton handbags
tory burch
ugg sale
abercrombie clothing
uggs for sale
abercrombie outlet
swarovski crystal
ed hardy outlet
cheap toms shoes
coach outlet
timberlands
cheap ray ban sunglasses
christian louboutin
ugg boots outlet
louis vuitton outlet stores
michael kors outlet
replica rolex watches
nike air huarache
coach outlet
At 3:31 AM ,
xjd7410@gmail.com said...
michael kors handbags
toms shoes
coach outlet
louis vuitton outlet
louis vuitton handbags
michael kors handbags
toms shoes
retro jordans
louis vuitton outlet
fitflops
supra shoes
michael kors outlet
ray ban sunglasses
asics outlet
longchamp bags
kobe 11
lebron james shoes
tory burch outlet
jordan shoes
hollister clothing
nike sb
ray ban sunglasses
timberland outlet
christian louboutin outlet
ralph lauren
michael kors handbags
michael kors canada
nike sb
michael kors handbags
louis vuitton handbags
ray ban sunglasses
rolex watches
michael kors outlet
adidas yeezy
toms outlet
michael kors handbags
toms outlet
ray ban sunglasses
coach factory outlet
coach outlet store online
2016.7.16haungqin
Post a Comment
Subscribe to Post Comments [Atom]
<< Home