|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
current recordHow 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 wrote:
>How obtain the current record ? this is my code: fila is the current record.> >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) > > T 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 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 >> >> > > > >
OpenGL Control Flickering Problem
Combobox Using Wrong ToString Method Control for Sql Connection? running app on network drive how to get excel col. letter My.settings questions Reading Binary file created by VC++ How to connect/disconnect to remote machine using VPN programmatic irritating bug in debug Regex squash |
|||||||||||||||||||||||