I tried to find out how to retrieve a list by its url. There is only one thing that powershell code should be used as csharp code. These following code maybe helpful:
$list = $web.GetList($web.ServerRelativeUrl + "/Lists/CrossSelling")
To discuss and share about SharePoint and .NET learning and development experiences
I tried to find out how to retrieve a list by its url. There is only one thing that powershell code should be used as csharp code. These following code maybe helpful:
$list = $web.GetList($web.ServerRelativeUrl + "/Lists/CrossSelling")