General information
Category:
The Mere Mortals .NET Framework
Title:
Getting error on GetCurrentRowPKs
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.
Any ideas on this?
Thanks.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only