Updated: 1/09/2005; 21:05:39.
Hannes 'Shorty' Decorte's Radio Weblog
Learning .Net and the Experiences doing so


zaterdag 27 augustus 2005

Let's say that I want to handle the RowDeleting event of a Strong Typed DataTable. And I want to handle the event in the Strong Typed DataTable Class itself. In VB I just go to the code window of the DataTable and via the DropDowns (Objects and Events) I create a handler. In C# no such thing can be done!!!! Looking with Reflector to the generated code of a VB project (Partial class merged with AutoGenerated code) I can see that the code for adding an EventHandler is put in the constructor of the DataTable. I could do this also in C# in the AutoGenerated code, but this would be lost if the class got regenerated.
8:49:35 PM    comment []

Been playing a bit with the new Visual Studio 2005 Tools For Office and yes it's impressing. Get your Visual Studio 2005 copy here and start playing youself!
8:33:15 PM    comment []

© Copyright 2005 Hannes 'Shorty' Decorte.
 
August 2005
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Jul   Sep


RSS Feed


Other .Net Bloggers

Bart De Smet
Jan Tielens
Patrick Verbruggen
Patrick Tisseghem
Tom van de Kerkhof's Bloggings
Tom's Corner
Yves Hanoulle

Aggregated Feeds

Belgian .NET Bloggers