joe_pool_is
Contributor
How can I create a small, 1-page and 1-file ASP.NET project?
I am trying to eliminate the "code behind" by placing my code in ASP tags <% %>.
I put together a test page, uploaded it to the ISP, and attempted to load it in IE. I got a "no web.config file" error. I am sure there will be more errors I'll run into if I don't do it right.
Could someone show me how to put together a small, simple page with one textbox that gets filled from the Response.QueryString command? There are bits and pieces of info all over the web, but I can't seem to find anything that puts it all together.
For example:
http://www.my-website.com/page.aspx?name=John%20Doe
...would load page.aspx with the name "John Doe" in the txtName.Text field.
Doing this is either so simple it is baffling me, or it requires just as big of a project as any other ASP.NET application.
Thanks for helping.
~Joe
I am trying to eliminate the "code behind" by placing my code in ASP tags <% %>.
I put together a test page, uploaded it to the ISP, and attempted to load it in IE. I got a "no web.config file" error. I am sure there will be more errors I'll run into if I don't do it right.
Could someone show me how to put together a small, simple page with one textbox that gets filled from the Response.QueryString command? There are bits and pieces of info all over the web, but I can't seem to find anything that puts it all together.
For example:
http://www.my-website.com/page.aspx?name=John%20Doe
...would load page.aspx with the name "John Doe" in the txtName.Text field.
Doing this is either so simple it is baffling me, or it requires just as big of a project as any other ASP.NET application.
Thanks for helping.
~Joe