Adding SPFieldLookup to a list programmatically ?

Posted by Mina Samy on Stack Overflow See other posts from Stack Overflow or by Mina Samy
Published on 2010-03-25T10:22:28Z Indexed on 2010/03/25 13:23 UTC
Read the original article Hit count: 307

Filed under:

Hi all

I added a SPFieldLookup field to a list programmatically.

when I checked my list view I found that the lookup field is as if I added it from the user inerface without specifying that it is linked to item.

is there a method to force the lookupfield to be linked to item programmatically ?

thanks

© Stack Overflow or respective owner

Related posts about sharepoint