J
Jim Lawton
Hello,
Hello
I'm tinkering with .NET, and I like the idea of being able to use compiled c# in
"code behind" even where the client side user doesn't have the .net framework
installed, i.e. for general web based applications.
So what I did was remove everything in the .aspx file except the
<%@ Page language="c#" Codebehind="WebForm2.aspx.cs" AutoEventWireup="false"
Inherits="lmyProj.WebForm2" %>
line.
My idea was to handle the Request in the Page_Load method of the code behind.
I can output data using the Response property OK, but the Request seems to be
uninitialised - for instance if I send a form which invokes my page, the "Form"
property has Count = 0, not 1.
Also if the form includes a "File" component, the count of files in the request
is always 0. (I have set enctype="multipart/form-data")
I'm doing this so I can run what is to all intents and purposes a CGI executable
on in an ISP who doesn't allow executables, but does allow ASP.NET.
Maybe I should be pursuing some other route?
Or any other help, pointers greatfully received...
Jim
Hello
I'm tinkering with .NET, and I like the idea of being able to use compiled c# in
"code behind" even where the client side user doesn't have the .net framework
installed, i.e. for general web based applications.
So what I did was remove everything in the .aspx file except the
<%@ Page language="c#" Codebehind="WebForm2.aspx.cs" AutoEventWireup="false"
Inherits="lmyProj.WebForm2" %>
line.
My idea was to handle the Request in the Page_Load method of the code behind.
I can output data using the Response property OK, but the Request seems to be
uninitialised - for instance if I send a form which invokes my page, the "Form"
property has Count = 0, not 1.
Also if the form includes a "File" component, the count of files in the request
is always 0. (I have set enctype="multipart/form-data")
I'm doing this so I can run what is to all intents and purposes a CGI executable
on in an ISP who doesn't allow executables, but does allow ASP.NET.
Maybe I should be pursuing some other route?
Or any other help, pointers greatfully received...
Jim