Home All Groups Group Topic Archive Search About
Author
10 May 2006 6:26 PM
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)

Author
10 May 2006 6:40 PM
tomb
Jose wrote:

>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
Author
10 May 2006 7:13 PM
Jose
Well but how will appear my code?
Me.BindingContext(dasedo, "tabest").Position = 1 (bad code line help me
please)


Show quoteHide quote
"tomb" <t***@technetcenter.com> escribió en el mensaje
news:ouq8g.5755$qd2.1462@bignews6.bellsouth.net...
>
> Jose wrote:
>
>>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
Author
10 May 2006 8:49 PM
tomb
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

Jose wrote:

Show quoteHide quote
>Well but how will appear my code?
>Me.BindingContext(dasedo, "tabest").Position = 1 (bad code line help me
>please)
>
>
>"tomb" <t***@technetcenter.com> escribió en el mensaje
>news:ouq8g.5755$qd2.1462@bignews6.bellsouth.net...

>
>>Jose wrote:
>>
>>   
>>
>>>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
>>   
>>
>
>

>