Tag Info

New answers tagged


The way you split and join URLs is a little messy at best, so I'm not sure I understand it correctly. It seems that you try to open a list using /Lists/Survey 1 URL. This is web-relative URL. According to SPWeb.GetList() you should use server-relative URL (like /Surveys/Lists/Survey 1).


In order to deploy your project from Visual Studio, go to the Solution Explorer and right click on the name of the project as shown below. Click the Deploy Solution button to deploy the project. Once your project is deployed, go to the page for which you have coded on the browser. Once this is done, go to the visual studio. Select Debug menu. In this ...

Top 50 recent answers are included