Re: asp.net 2.0 web form contents to text file

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Sep 15, 6:58 am, "bgreer5...@xxxxxxxxx" <bgreer5...@xxxxxxxxx>
wrote:
I have a simple web form with text boxes that my user fills out and
upon submit I get a copy emailed to me. I would like those same
values to be stored in a text file or csv file on the IIS server,
using ASP.NET 2.0.

I am sure there is a simple example already available on the
web.......can someone help me find it?

Thanks

you'll need to set either iis_wpg or aspnet user to have write access
to a directory, can't remember which one. if your server is hosted,
you might need to get in touch with your providor.

then simply google "write to a file in vb.net" for instructions on how
to write to a file.

I suggest making an individual file for each email with a unique name
(google "guid in vb.net for how to make a guid, or better still name
the file after the year+month+day+hour+minute+second, or something
else).

cheers,
denz.

.



Relevant Pages

  • Re: DCOM timeout
    ... Did you do a search for the GUID in the registry? ... This is normally a misconfigured server app issue. ... known issues and a Google search sometimes gives you a quick answer. ...
    (microsoft.public.windows.server.sbs)
  • Re: slow sql server DB reads
    ... If GUID is not a key in the database make it one. ... indexing on GUID would provide speed improvement. ... > I run a python website on a IIS server. ...
    (comp.lang.python)
  • Re: Which GUID is this ?
    ... Does anyone know which device type is represented by this GUID? ... Both Google and findstr would have answered this question MUCH faster than ...
    (microsoft.public.development.device.drivers)
  • Re: Newbie ASP.NET/Blog question
    ... so I'll google for some more info on that. ... can both be interpreted by an IIS server, ... CSS and a handful of server side includes. ...
    (microsoft.public.dotnet.framework.aspnet)