Sometimes you need to drop column from DataTable which is marked as PrimaryKey (else you will get an exception). There's a nice way to accomplish that.
DataTable.PrimaryKey = null;
So simple, so nice :)
wtorek, 22 stycznia 2008
Subskrybuj:
Komentarze do posta (Atom)
1 komentarz:
Just what I needed. Thanks.
Prześlij komentarz