Pretty new here. Before I request my question, I am not searching for "teh codez". Among the finest to understand how you might start carrying this out.

I've some regular HTML textboxes inside a web site, and I wish to understand how I'd start by taking your input (ofcourse, textbox has special ID and thus does the submit button), and posting it to some database.
I am using Visual Webmaster 2010 Express, and SQLserver 2008 R2 express as my database. Someone recommended using c#, but what techniques would I personally use in C#? Throw me some techniques, please?

HTML inputs

<span class="ui-state-default ui-corner-all ui-icon-disk ui-icon saveButton" title="Save" style="float:left"></span><input type="text" class="lace" id="march"/><br />
<span class="ui-state-default ui-corner-all ui-icon-disk ui-icon saveButton" title="Save" style="float:left"></span><input type="text" class="lace" id="march2"/><br />
<span class="ui-state-default ui-corner-all ui-icon-disk ui-icon saveButton" title="Save" style="float:left"></span><input type="text" class="lace" id="march3"/><br />


You will find a number of ways you are able to go.

If you are using "Web forms", the reply is entirely Not the same as the main one you are implictly asking. I certainly encourage you to check out web forms. You will find many lessons, including that one:

However, you are asking about simple CGI:

  • Write some HTML

  • Put some tags, usually together with a "submit" button inside a "form" tag

  • Give a CGI "action" handler around the server to get the input

Here's an example regarding how to do that with C#:

http://chalaki.com/8-steps-program-install-setup-call-csharp-cgi-programs-in-iis-7/321/

Yet another possibility would be to do your processing around the client side: using Javascript (or perhaps a Javascript framework like jQuery or Dojo) running around the client's browser.