Ver Mensaje Individual
  #4 (permalink)  
Antiguo 16/01/2008, 16:26
F3l1p3
 
Fecha de Ingreso: enero-2008
Mensajes: 24
Antigüedad: 16 años, 4 meses
Puntos: 0
Re: Ayuda para un principiante

SqlConnection SqlConn = new SqlConnection("Data Source=xxx;Initial Catalog=xx;Persist Security Info=True;User ID=xxx;Password=xxx");

SqlDataAdapter objAdapter = new SqlDataAdapter("select razon_social from proveedor where rut = '" + tbrut.Text + "' ", SqlConn);
DataSet ds = new DataSet();

objAdapter.Fill(ds, "proveedor");


this.tbmuestra_rut.Text = ds.ToString(); <-- Nose que poner aca para q me muestre el resultado!!