Click here to Skip to main content
13,595,773 members
Rate this:
Please Sign up or sign in to vote.
See more:
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
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.
Srisharepoint 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

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

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