Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting error on GetCurrentRowPKs
Message
 
À
12/02/2008 14:07:17
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Divers
Thread ID:
01291914
Message ID:
01292053
Vues:
18
Tony,

>I am using the code from the manual to get the primary keys in my table.
>They are together in SQL Server:
> reqid int 4
> itemnum int 4
>
> Public Sub New()
> Me.TableName = "pur_item"
> Me.PrimaryKeys = New String() {"reqid", "itemnum"}
>
>When I try to get them:
>Dim PK As String = grdLineItems.GetCurrentRowPKs.ToString
>
>I get this error:
>Attempted to access an element as a type incompatible with the array.

Can you post the full stack trace of the error?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform