I'm trying to retrieve the values of a form. Is this a good way to get them back to get through my DAL?
<div id="myModal_Veiculos" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<form id="Cad_Veiculos">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Cadasto de Clientes</h3>
</div>
<div class="modal-body">
<label>Modelo </label><input type="text" name="modelo" id="modelo" />
<label>Placa </label><input type="text" id="placa" name="placa" />
<label>Quilometragem </label><input type="text" id="quilometragem" name="quilometragem" />
<label>Cor </label><input type="text" name="cor" id="cor" />
<label>Tipo </label><input type="text" name="tipo" id="tipo" />
<label>Ano </label><input type="text" name="ano" id="ano" />
<label>Chassi </label><input type="text" name="chassi" id="chassi" />
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Fechar</button>
<Button class="btn btn-primary" onclick="button1_cad_veiculo">Salvar</Button>
</div>
</form>
</div>
Retrieving form's values
protected void button1_cad_veiculo(object sender, EventArgs e)
{
Veiculo vl = new Veiculo();
vl.Modelo1 = Request.Form["modelo"];
vl.Quilometragem1 = Request.Form["quilometragem"];
vl.Placa = Request.Form["placa"];
vl.Cor = Request.Form["cor"];
vl.Chassi = Request.Form["chassi"];
vl.Tipo = Request.Form["tipo"];
VeiculoDAL.cadastra(vl);
}