Sign in
|
Join
in
Current Tags
Christian Nagel's OneNotes (blog)
Original ASP.NET Community Bloggers (group)
(Entire Site)
ASP.NET Weblogs
Home
Blogs
This Blog
Home
About
Syndication
RSS
Atom
Comments RSS
Recent Posts
Blog moved
Thinktecture Talks
Der Tod und das Mädchen
Cinema Tickets von Microsoft
usergroups.at started
Tags
ASP.NET
Avalon & Windows Forms
Book Writing
Code Snippets
Communication
Courses
Data & XML
Framework
INETA
Language
Personal
TechEd
Technology
Whidbey & Longhorn
XML
Affiliations
CodeWise
Christian Nagel's Home Page
.NET User Group Austria
INETA
MVP
Books I've written
Professional C#, 3rd Edition
Beginning Visual C#
Professional C# Web Services
Data-Centric .NET Programming with C#
Pro .NET 1.1 Network Programming
ASP to ASP.NET Migration Handbook
Visual C# .NET Developer's Cookbook
Enterprise Services with the .NET Framework
INETA UG Leaders
Andrew Filev (Russia)
Christian Nagel (Austria)
Klaus Aschenbrenner (Austria)
Andrea Saltarello (Italy)
Andreas Eide (Norway)
Shinja Strasser (Germany)
Frank Eller (Germany)
Damir Tomicic (Germany)
My Blogroll
Omri Gazitt
Eric Gunnerson
Jonathan Crossland
Greg Fee
Sascha P. Corti
Martin Gudgin
Rob Howard
Keith Pleas
Chris Sells
Sam Gentile
Christian Weyer
Ingo Rammer
Scott Watermasysk
Don Box
Scott Guthrie
Clemens Vasters
DataGrid Girl
Julia Lerman
Chris Brumme
Hannes Preishuber
Archives
September 2005
(1)
August 2005
(8)
July 2005
(7)
June 2005
(4)
May 2005
(1)
April 2005
(5)
March 2005
(10)
February 2005
(2)
January 2005
(5)
December 2004
(5)
November 2004
(8)
October 2004
(6)
September 2004
(10)
August 2004
(3)
July 2004
(5)
June 2004
(21)
May 2004
(22)
April 2004
(15)
March 2004
(13)
February 2004
(15)
January 2004
(20)
December 2003
(5)
November 2003
(13)
October 2003
(27)
September 2003
(19)
August 2003
(18)
July 2003
(10)
June 2003
(23)
Christian Nagel's OneNotes
.NET Training, Consulting, Coaching - C#, Web Services, Enterprise Services, ASP.NET, Whidbey, Longhorn and More!
Browse by Tags
All Tags
»
Code Snippets
(
RSS
)
Data & XML
Language
Technology
Whidbey & Longhorn
XML
Generic Methods
Following my blog about Generic Delegates and Anonymous Methods , here is more: Generics and anonymous methods can make code a lot more flexible. Following I show different ways to accumulate the balance of Account objects. The Account class is a simple...
Posted
Mar 06 2005, 04:16 PM
by
CNagel
with | with
10 comment(s)
Filed under:
Technology
,
Whidbey & Longhorn
,
Code Snippets
,
Language
Dispose and Finalize with C++/CLI, C# and VB
Depending on the .NET language more or less of implementing resource management with the interface IDisposable and the finalizer is hidden. Interestingly, with VB nothing is hidden - however all the code is created automatically with Visual Studio 2005...
Posted
Jan 23 2005, 07:26 PM
by
CNagel
with | with
2 comment(s)
Filed under:
Technology
,
Code Snippets
,
Language
C++/CLI and IDisposable
With my previous post about Instantiating Managed Objects with C++/CLI you could read about using ref types two different ways: with local variables and with a handle. Now I'm adding implementing the IDisposable interface with the Test class: ref class...
Posted
Jan 15 2005, 04:36 PM
by
CNagel
with | with
2 comment(s)
Filed under:
Technology
,
Code Snippets
,
Language
C++/CLI: Instantiating Managed Objects
C++/CLI (not Beta 1) allows declaring reference types as local variables. Let's start with this simple ref class: ref class Test { public: void Foo() { Console::WriteLine("Foo"); } }; Handles and the gcnew operator can be used to create instances: Test...
Posted
Jan 14 2005, 08:09 AM
by
CNagel
with | with
2 comment(s)
Filed under:
Technology
,
Code Snippets
,
Language
Creating Word Documents with XSLT (Part 2 - Creating Tables)
With my last blog about creating Word documents with XSLT I've shown an example to do a very simple document. Here I'm showing how to create a table using Word. The same XML file as before is used: <?xml version="1.0" encoding="utf-8" ?> <Courses>...
Posted
Sep 30 2004, 08:15 PM
by
CNagel
with | with
5 comment(s)
Filed under:
Technology
,
Code Snippets
,
XML
,
Data & XML
Documentation that shows up in the XML Editor
The XML Editor of Visual Studio 2005 shows the elements that are allowed according to the XML Schema. The editor not only shows the elements and attributes that are possible where the cursor is positioned, it also shows some documentation about the elements...
Posted
Sep 26 2004, 01:37 PM
by
CNagel
with | with
2 comment(s)
Filed under:
Technology
,
Whidbey & Longhorn
,
Code Snippets
,
XML
,
Data & XML
Creating Word Documents with XSLT
Using the Office Schemas it is easy to create Microsoft Word 2003 documents. Let's start with this XML document: <?xml version="1.0" encoding="utf-8" ?> <Courses> <Course Number="MS-2524"> <Title>XML Web Services Programming<...
Posted
Sep 25 2004, 01:03 PM
by
CNagel
with | with
7 comment(s)
Filed under:
Technology
,
Code Snippets
,
XML
,
Data & XML
XSLT: Converting multiple elements to one attribute
I've received a question how to convert multiple XML elements to a values for a single attribute. Here is the information about how this can be done with XSLT. The XML source: <Article> <Head> <Title>.NET Enterprise Services</Title>...
Posted
Sep 24 2004, 09:14 AM
by
CNagel
with | with
2 comment(s)
Filed under:
Technology
,
Code Snippets
,
XML
,
Data & XML
Interface Inheritance
Memi Lavi writes about inherits vs. implements in C# , and that the difference gets much more obvious with VB. He also talks about multiple inheritance with interfaces is not possible. Mostly I'm writing my programs with C# (sometimes C++ and VB). Now...
Posted
May 09 2004, 08:08 AM
by
CNagel
with | with
4 comment(s)
Filed under:
Technology
,
Code Snippets
,
Language
.NET 2.0: Database Independent ADO.NET
.NET 2 has new factories that makes it easier to write data-programs independent of the databsae. With .NET 1.0, we could program independent of the database using interfaces: IDbConnection connection = new SqlConnection(connectionString); IDbCommand...
Posted
Oct 30 2003, 05:10 PM
by
CNagel
with | with
13 comment(s)
Filed under:
Whidbey & Longhorn
,
Code Snippets
More Posts
Next page »
Terms of Use