Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/11/2011, 10:52
Avatar de rikakashi
rikakashi
 
Fecha de Ingreso: julio-2011
Mensajes: 226
Antigüedad: 13 años, 6 meses
Puntos: 33
Sonrisa Formato texto campo

Hola a todos hoy tengo la pregunta de como puedo acomodar mi consulta
es un string desde vb.net

Código vb:
Ver original
  1. "Select TBL_CON.CONT_TEL_TELEFONO,TBL_CON.CONT_TEL_TIPO,TBL_CON.CONT_TEL_REGISTRO,TBL_GEN.GEN_DESC" & _
  2.                 " from TBL_MEM_CONTACTO_TEL TBL_CON,TBL_CAT_GENERALES TBL_GEN" & _
  3.                 " where TBL_CON.CONT_TEL_MEMBRESIA='" & membresia_num & "'" & _
  4.                 " and TBL_GEN.GEN_SECCION=700 and TBL_CON.CONT_TEL_TIPO=TBL_GEN.GEN_CLAVE order by CONT_TEL_REGISTRO"

me devuelve 2 columnas una el telefono varchar y otra el tipo de telefono esta ultima sin problemas el telefono me resulta asi 1234567897 y al momento de recogerlo quiero que sea asi (123) 456-7897 espero y se pueda conseguir este resultado
__________________
la programación es tan grande como la imaginación (+.+)