current record

  • Thread starter Thread starter Jose
  • Start date Start date
J

Jose

How obtain the current record ? this is my code:

Dim fila As DataRow

Dim llaveprimaria(0) As DataColumn

llaveprimaria(0) = dasedo.Tables("tabest").Columns("codigo")

dasedo.Tables("tabest").PrimaryKey() = llaveprimaria

fila = dasedo.Tables("tabest").Rows.Find(c_idfind)

Me.BindingContext(dasedo, "tabest").Position = 1 (bad code line help me
please)
 
Jose said:
How obtain the current record ? this is my code:

Dim fila As DataRow

Dim llaveprimaria(0) As DataColumn

llaveprimaria(0) = dasedo.Tables("tabest").Columns("codigo")

dasedo.Tables("tabest").PrimaryKey() = llaveprimaria

fila = dasedo.Tables("tabest").Rows.Find(c_idfind)
fila is the current record.

T
 
Well but how will appear my code?
Me.BindingContext(dasedo, "tabest").Position = 1 (bad code line help me
please)
 
It's difficult to say, because I don't know what Me refers to. What are
you binding to? And what are you trying to find out?

T
 
Back
Top