find a row in a datatable with a compound key [RESOLVED]

according_to_dale

New member
Joined
Jul 11, 2005
Messages
2
Programming Experience
3-5
I have a dataset with several datatables created at runtime. One of
these tables has a compound primary key (2 columns).
The problem I am running into is deleting rows from this datatable. I'm
not sure how to pass the compound key.


What I have been using for datatables with a single column key is this:


objDataset.Tables("dtName").Rows.Find(id).Delete()


Any thots?
 
Back
Top