/// <summary> /// 填充为完整的URL /// </summary> public String GoFullUrl(String goUrl) { return(String.Format("http://{0}{1}", WebHelper.GetHomeUrl(), goUrl)); }
/// <summary> /// 填充为完整的URL /// </summary> public String GoFullUrl() { return(String.Format("http://{0}", WebHelper.GetHomeUrl())); }
/// <summary> /// 显示内容并截取数据 /// </summary> /// <param name="FieldName">字段名</param> /// <param name="DataItem">数据项</param> /// <param name="Lenght">显示长度</param> /// <param name="Suffix">终止符号</param> /// <returns></returns> public String ViewContent(String FieldName, DNNGo_LayerGallery_Content DataItem, Int32 Lenght, String Suffix) { String Content = ViewContent(FieldName, DataItem);//先取内容 return(WebHelper.leftx(Content, Lenght, Suffix)); }