Podemos usar la función “Remove” para eliminar al ultimo caracter de nuestro texto: Por ejemplo, si queremos eliminar si el ultimo caracter de nuestro texto es una coma:
En ocasiones podemos encontrarnos con situaciones en las que no se nos actualizan las DLL de la GAC y no podemos borrarlas. Nuestro primer intento sería utilizar el comando GACUTIL: http://idttechblog.wordpress.com/2014/09/25/borrar-dll-de-la-gac/ […]
El método correcto de borrar DLLs de la GAC es el siguiente: 1. Abrimos la consola de Visual Studio (Developer Command Prompt for VS2013 en el caso de Visual Studio […]
Mount VHD: DISKPART SELECT VDISK FILE="D:MyVHDDisk.vhd" ATTACH VDISK Dismount VHD: DETACH VDISK
SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite("YOURSITE")) { using (SPWeb web = site.OpenWeb()) { //Obtain the page PublishingPageCollection publishingPages = PublishingWeb.GetPublishingWeb(web).GetPublishingPages(); PublishingPage page = publishingPages.FirstOrDefault(f => f.Uri.AbsoluteUri == "YOURPAGE"); […]
You can remove any href that contains specific text inside the link. If you want to remove the link to any page that contains “DispForm” you can do it like […]