protected void btnAgregar_Click(object sender, EventArgs e) { Bu_Contactos bc = new Bu_Contactos(); Contactos c = new Contactos(); try { c.ubicacion_id = Convert.ToInt32(ddlUbicacion.SelectedValue); c.nombre = txtNombre.Text.Trim().ToUpper(); c.paterno = txtPaterno.Text.Trim().ToUpper(); c.materno = txtMaterno.Text.Trim().ToUpper(); c.celular = txtCelular.Text.Trim().ToUpper(); c.fono = txtFijo.Text.Trim().ToUpper(); c.email = txtEmail.Text.Trim().ToUpper(); c.id_user = 16712750; bc.IngresaContactos(c); limpiar(); } catch (Exception) { throw; } }