![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/01/2008, 16:09
|
![Avatar de mdavila](http://static.forosdelweb.com/customavatars/avatar190386_1.gif) | | | Fecha de Ingreso: julio-2007 Ubicación: Montevideo (Uruguay)
Mensajes: 919
Antigüedad: 17 años, 6 meses Puntos: 13 | |
Re: Ayuda para un principiante Te falta el where de la sentencia sql.
dim Cmd as new SqlCommand
Cmd.CommandText="select razon_social from proveedor where proveedro_id=id"
Cmd.Connection= SqlConn
y en el label pones:
SqlConn.connection.open()
this.lblmuestra_rs.text = Cmd.ExecuteSacalar()
SqlConn.connection.close() |