G
Guest
I have a dataset that I first do a FillSchema(dataset, SchemaType.Mapped, "Table") on, and yet it still throws System.Data.MissingPrimaryKeyException when I do a dataset.tables("Table").Rows.Find(key).
The column is marked as a primary key in the table and the sql statement is just "SELECT * FROM tableName"
Anybody have any idea why this can happen?
P.S. Sorry if I didn't give enough info, but I am patching together someone else's mess, so I haven't gotten a chance to read it all yet.
-Thanks
The column is marked as a primary key in the table and the sql statement is just "SELECT * FROM tableName"
Anybody have any idea why this can happen?
P.S. Sorry if I didn't give enough info, but I am patching together someone else's mess, so I haven't gotten a chance to read it all yet.
-Thanks