c# - Adding Tasks programmatically into the taskList in sharepoint -


I have a task list at URL, what do I want to do when the page loads, loads the task list all together Should work on its sub-sites

I want to do it in C #

No need to develop yourself because the solutions available in the box are available.

Out-of-The-Box

If you have Office SharePoint Server 2007 (not just WSS 3.0), just add the Content Query Web Part to that page Give where you want to add collected data then configure it to display items from the task list.

Another option that works, if you have WSS 3.0 then SharePoint Designer can add data to the Web Part on page and configure it to do the same, although only fixed From sites set.

There are other ways that you can buy.

Custom

If you still want to go down the custom route, there are also many options. Then take a look at what they are doing, some of them require an Office SharePoint server.

There is also a method of looping through sub-sites, after obtaining an example in each list, if you have several sub-sites or lists that contain many items, then it is not recommended because It's time consuming, hard on memory, and you'll need to implement the caching solution.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -