1 2 3 | String formUrl = String.Format(CultureInfo.InvariantCulture, "{0}/{1}?id={2}", SPContext.Current.Web.Url, SPContext.Current.Web.Lists[ListName].Forms[ PAGETYPE.PAGE_DISPLAYFORM].Url, item.Id); |
来源: http://www.myrocode.com/post/2009/03/20/How-get-SharePoint-2007-SpListItem-DispForm-Url.aspx
