jump to navigation

Multidimensional Arrays (C#) 25 Enero 2007

Posted by joelperez in ASP.NET, C#, Microsoft, Programacion.
3 comments

int[,] array2D = new int[,] { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7, 8 } };
int[, ,] array3D = new int[,,] { { { 1, 2, 3 } }, { { 4, 5, 6 } } };

string[,] AO2ID = new string[,]{{“ACMBC”,“987″},{“AGRG”,“988″},{“PLMR LRG”,“989″},{“RMS”,“990″},{

“AGD PCHN”,“993″},{“AGD SN RQ”,“997″},{“LNDR ATVSD”,“995″},{“CNQ 7A”,“983″},{

“L YSR”,“986″},{“PST HRNNDZ”,“982″},{“R NGR NRT”,“986″},{“CAM 2 – A Sur”,“976″},{

“MGLLNS”,“977″},{“TRR DL FG”,“975″},{“L TRDLL”,“970″},{“L TPR-PST QRG”,“970″}};

Escape Chars 11 Diciembre 2006

Posted by joelperez in ASP.NET, C#, Programacion, Visual Basic.NET.
add a comment


\b (backspace)
\n (new line)
\r (carriage return)
\t (horizontal tab)
\v (vertical tab)

Impersonate en ASP.NET 17 Noviembre 2006

Posted by joelperez in ASP.NET, C#, Dominios, HTTP, Internet, Programacion, Visual Basic.NET.
1 comment so far

<identity impersonate=”false”/>
ASP.NET tiene una identidad de proceso base (tipicamente {MACHINE}\ASPNET en IIS 5 o Network Service en IIS 6)

<identity impersonate=”true”/>
La identidad sera usuario anonimo (tipicamente IUSR_MACHINENAME) o el usuario autenticado que hace la consulta.

DataFormatString en ASP.NET 20 Octubre 2006

Posted by joelperez in ASP.NET, Programacion.
6 comments

DataFormatString = “{0: Format Pattern }”

Format Pattern Name Example
C or c Currency format $2,003.05
D or d Decimal format
(Works for integers only!)
2,003
E or e Scientific (exponential) format 2.003052e+003
F or f Fixed-point format 2003.05
G or g General format 2003.0515
N or n Number format 2,003.05
P or p Percent format 2,00305.15%
X or x Hexadecimal format
(Works with integers only!)
7D3