First of all I'd like to say that I'm very new at working with Visual Studio 2013 and with C# as well.
I want to make a certain web part in Visual Studio 2013 for a SharePoint 2013 test environment. The web part needs to fetch list items from different announcement lists, these announcement lists can be on different sites. Basically I need to be able to show the content of all those announcement lists into one custom list.
Here's an example of the scenario:
Subsite A: has a list named "List X" Subsite B: has a list named "List Y" Subsite C: has a custom web part that shows items from "List X" and "List Y"
So I want to make a custom web part in Visual Studio that will be placed on subsite C, which will show items from other lists located on other subsites.
I can deploy to our test environment and I can add a custom web part to a page so I got that going for me which is nice, but I just need a little push.
Some suggestions on what I might need (from the toolbox perhaps) or how I can get data from those SharePoint lists (suggestions, links, anything), that would all be very welcome.
Your help and time is greatly appreciated!