chocolim.com

De nada un poco

rainbow

Archive for septiembre, 2007

Funciones String – Left, Right and Mid en c#

Emular eso en .net:

public class StringManager
{
      public static string Left(string text, int length)
      {
return text.Substring(0,length);
      }
 
      public static string Right(string text, int length)
      {
return text.Substring(text.Length -length, length);
      }
 
 
      public static string Mid(string text, int start, int end)
      {
return text.Substring(start, end);
      }
 
      public static string Mid(string text, int start)
      {
return text.Substring(start, text.Length - start);
      }
}

http://geekswithblogs.net/congsuco/archive/2005/07/07/45607.aspx

EXECUTE permission denied on object sp_sdidebug, database master, owner dbo.

Este error choto(EXECUTE permission denied on object ‘sp_sdidebug’, database ‘master’, owner ‘dbo’.) se cura con:

GRANT EXECUTE ON sp_sdidebug TO 'username';

Screengrab

Interesante plugin para hacer captura de solo el contenido de la pagina del firefox: http://www.screengrab.org/

You are currently browsing the chocolim.com blog archives for septiembre, 2007.