Click here to Skip to main content
12,403,811 members (69,120 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: sharepoint2010
I have DID,Department Name,MID,Machinery Name in a visual web part,when submit button is pressed ..............
....
(i want output like)

DID,Department Name save in Department list and
MID,Machinery Name save in Machinery list.
Both Department and Machinery are present in same site.
Posted 19-Dec-12 9:31am
Comments
Rohit Shrivastava 19-Dec-12 16:41pm
   
Are you developing a custom visual web part or using any existing webpart? If it is custom webpart then its your code behind which is responsible to store information from the controls into list and you could easily achieve what you are asking.
harisharepoint 20-Dec-12 5:32am
   
hello Rohit,
i am developing custom visual web part,I have one more column i.e,DID in machinery list which is lookup from Department list.Can you please suggest me the code how can i save the data in both the lists with out error.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 19 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100