C# と MVC でフォームを使用しています。
example.com/controlpanel/edit/{anameID}ではなくaNameID を渡す必要がありexample.com/controlpanel/edit/?a={anameID}ます。
これどうやってするの?
これが私のコードです:
<form action="http://example.com/controlpanel/edit/" method="GET">
<label for="male">Person ID #</label>
<br />
<input type="text" name="aNameID"  style="width:70px;"/>
  <input type="submit" name="submit"  />
</form>