Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dataset
Message
De
14/11/2002 10:22:44
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Divers
Thread ID:
00722613
Message ID:
00722682
Vues:
23
Hi Ahmad,

First you need to databind your textbox (and I hope I get the VB syntax right):
me.DataBindings.Add("Text", MyTable, "MyColumn")
Then, you use the Position property of the BindingContext to navigate the rows:
-- nRow is an integer, specifying which row of the DataSet you are on.
me.BindingContext(MyTable).Postion = nRow
HTH,
~~Bonnie



>Hi All,
>
>I succeeded to create my DataSet & DataAdapter:
>Dim myDS As New DataSet()
>Dim myDA As New SqlClient.SqlDataAdapter("Select * From AN_Bank", myConn.oConnection)
>myDA.Fill(myDS, "MyTable")
>
>- But stuck in retrieving the table rows and assigning the table fields to my form TextBox
>
>- How record Louck in handeled in MS-MSDE?
>
>Can anyone help please?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform