ASP.NET - AYUDA

 
Vista:

AYUDA

Publicado por Segundo Tello (10 intervenciones) el 03/06/2005 18:14:33
HOLA NECESITO DE SUS AYUDA, SOY NUEVO EN ESTE TEMA
If Not IsPostBack Then
Dim strConexion As String
Dim objConexion As OleDbConnection
Dim objComando As OleDbDataAdapter
Dim odjDs As New DataSet
Dim id As String = Request.QueryString("id")
strConexion = "PROVIDER=MICROSOFT.jet.oledb.4.0;data source=" & Server.MapPath("segundo.mdb")
objConexion = New OleDbConnection(strConexion)
objComando = New OleDbDataAdapter("select rut from cliente where id=" & id.ToString(), strConexion)
objComando.Fill(odjDs, "cliente")

****************************ESTE ES MI PROBLEMA**************************'

CUAL ES LA FOTMA CORRECTA PARA AGREGAR UN CAMPO MI TEXBOX.

txRUT.Text = objComando("rut") ?????????????????????????
txNOMBRE.Text = objComando("NOMBRE")???????????????????
******************************************************************************************
objConexion.Close()

ENd If

gRACIAS
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:AYUDA

Publicado por yosu (11 intervenciones) el 06/06/2005 10:53:11
txRUT.text=odjDs.tables(0).rows(numfila).item("rut")
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:AYUDA

Publicado por Segundo Tello (10 intervenciones) el 06/06/2005 18:59:14
GRACIAS, MI ESTIMODO, QUE TENGAS BUEN SEMANA.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar