Ago 1

Ieri ho scritto un promemoria per ricordami di come attivare CLR in SQL Server 2005, oggi vi posto il link di un iteressante articolo su come scrivere CLR Stored Procedures in C#.

Read the rest of this entry »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • YahooMyWeb
Lug 30

Stamattina ho trovato sul blog di Fabrizio, un interessante articolo per crere AddIn per Live Messenger. Mi permetto di fare alcune precisazioni che, forse per brevità, Fabrizio ha omesso.

Read the rest of this entry »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • YahooMyWeb
Lug 2
Creare plugin per Live Writer
icon1 Zaragon | icon2 C# | icon4 07 2nd, 2008| icon3No Comments »

Su Channel 9 c’è una interessante intervista a Charles Teague ( Microsoft Dev Lead ) su Live Writer.

Read the rest of this entry »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • YahooMyWeb
Lug 2

Oggi hjo risposto ad un post sul forum HTML ad un utente che chiedeva lumi su come creare snippet di codice.

Un paio di query su GG ed il gioco è fatto:

Read the rest of this entry »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • YahooMyWeb
Mag 30
GridView e CheckBox
icon1 Zaragon | icon2 C#, ASP.NET e AJAX | icon4 05 30th, 2008| icon35 Comments »

Nell’ applicazione che ho appena terminato, ho dovuto rispolverare le nozioni base sulle GridView e su come inserire colonne "custom". In questo piccolo esempio, vediamo come inserire, per ogni riga, un controllo CheckBox.

Read the rest of this entry »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • YahooMyWeb
Mag 29

Oggi ho fatto una piccola pausa su Flex per tornare a .NET per un lavoretto veloce veloce che mi ha riservato un piccola insidia sull’ SqlDataSource.

Read the rest of this entry »

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • YahooMyWeb
Mar 15

Oggi vi segnalo questa utilissima classe scritta da Matteo Migliore per confrontare collection di elementi eterogenei.

Veramente ben scritta e di grande utilità.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • YahooMyWeb
Mar 10

Ecco un semplice metodo per ordinare randomicamente una lista che in questo caso è di interi:

   1: private static List<int> shuffledList(List<int> listToShuffle)
   2: {
   3:   
   4:  List<int> ints = new List<int>(listToShuffle.Count);
   5:   
   6:  for (int i = 0; i < listToShuffle.Count; i++)
   7:     ints.Add(i);
   8:   
   9:     List<int> randList = new List<int>(listToShuffle.Capacity);
  10:   
  11:     for (int k = 0; k < listToShuffle.Count; k++)
  12:     {
  13:         int randIndx = new System.Random().Next(ints.Count);
  14:   
  15:         int randK = ints[randIndx];
  16:         randList.Add(listToShuffle[randK]);
  17:         ints.RemoveAt(randIndx);
  18:      }
  19:   
  20:   return randList;
  21:   }

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • YahooMyWeb

« Previous Entries