Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/11/2011, 18:28
Avatar de citaem
citaem
 
Fecha de Ingreso: agosto-2005
Mensajes: 218
Antigüedad: 18 años, 8 meses
Puntos: 0
Podrian verificar la sintaxis?

Hola:

Intento utilizar esta linea de codigo pero sospecho que algo anda mal....y no le encuentro

Código C:
Ver original
  1. SqlCommand cmd = new SqlCommand("dbo.spReingresoACConsulta" + ddlSubprocuraduria.SelectedIndex + "," + ddlDelegacion.SelectedIndex + "," + ddlAgencia.SelectedIndex + "," + ddlMesa.SelectedIndex + "," + txtAC.Text + "," + txtAnio.Text + ",6,112", cn);

donde;

ddlSubprocuraduria.SelectedIndex
ddlDelegacion.SelectedIndex
ddlAgencia.SelectedIndex
ddlMesa.SelectedIndex
txtAC.Text
txtAnio.Text

Son los valores extraidos de los objetos de mi formulario....

GRACIAS