I've a list with two columns as student Id and student name. In second list am taking one column as lookup and giving reference to student name. But while inserting record in second list when am selecting student name and clicked save ,in second list I've to save student Id not student name. (just like dropdown in asp.net data text field and data value field.)

How can I achieve this in SharePoint using lookup column and am creating the second list in visual studio?


Just give Student Name field in lookup field as shown below. enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.