Learn how the .NET Framework's set of classes and associated tools for manipulating XML data can be woven together to form an impressive array of options for constructing XML processing solutions. XML Tools
10 Dinge die Entwickler mit SQL tun, aber NICHT tun sollten
Mehr als 10 Dinge die Entwickler mit SQL tun, aber NICHT tun sollten. Betreffen eigentlich nicht nur den SQL Server. A Vote: 10 Things Developers Currently Do w/ SQL That They Shouldn't
Windows Forms Kritik
Ganz meine Meinung über Windows Forms. Speed, Handling, Usability... Rick Strahl's WebLog about Winforms
Labels: winforms
Verwendung String in .net, Repräsentation in IL, Performance...
Verwendung String in .net, Repräsentation in IL, Performance... StringBuilder Vorteile, usw... Interessante Info: Alle Strings werden in einer zentralen HashTable abgelegt Artikel in italienisch String in .net
Aufruf Reihenfolge eines Delegates und Garantie des Aufrufs
If you want to control the invocation order more closely—if you want guaranteed invocation, for example—you can get the invocation list from the delegate and invoke the functions yourself. Here's what that would look like: foreach (LogHandler logHandler in lh.GetInvocationList()) { try { logHandler(message); } catch (Exception e) { // do something with the exception here… } } Delegates on MSDN. Events und Delegates GUTE Beschreibung Unterschied, Vorteil Events usw...
Neue Zeile in TextBoxen, Labels, usw...
Man sollte immer System.Environment.NewLine verwenden -> Plattformunabhängigkeit, obwohl ja nur auf Windows .net FrameWork passabel läuft. A string containing "\r\n". Remarks The property value is a constant customized specifically for the current platform. This value is automatically appended to text when using WriteLine methods, such as Console.WriteLine. .net FrameWork Implementierungen für andere Architekturen und Plattformen: Mono DotGnu Supported CPUs: x86, ppc, arm, parisc, s390, ia64, alpha, mips, sparc. Supported operating systems: GNU/Linux (on PCs, Sparc, iPAQ, Sharp Zaurus, PlayStation 2, Xbox,...), *BSD, Cygwin/Mingw32, Mac OS X, Solaris, AIX.
Threading und Threads einfachstes Beispiel
using System; using System.Threading; class ThreadTest { public void Runme() { Console.WriteLine("Runme Called"); Thread.Sleep(10000); } public static void Main(String[] args) { ThreadTest b = new ThreadTest(); Thread t = new Thread(new ThreadStart(b.Runme)); t.Start(); Console.WriteLine("Thread 't' started."); Console.WriteLine("There is no telling when " + "'Runme' will be invoked. "); t.Join(); Console.WriteLine("Thread 't' has ended."); } }
Oracle und primary keys die mit Trigger und Sequence gesetzt werden
Bessere lösung zu Problem mit PrimaryKey in Oracle werden mit Trigger gsetzt.
Selber no net probiert.
/* retrieve Oracle sequence value as output parameter */
INSERT INTO oratable values(myseq.NEXTVAL, 'bob'); myoutparm := myseq.CURRVAL;
Von MigratingDataAccessCode Seite 4
Labels: oracle
Ascii Charakter in c# ermitteln
Q: How can I get the ASCII code for a character in C#? A: Casting the char to an int will give you the ASCII value: char c = 'f'; System.Console.WriteLine((int)c); or for a character in a string: System.Console.WriteLine((int)s[3]); The base class libraries also offer ways to do this with the Convert class or Encoding classes if you need a particular encoding.
.net Applikation nur einmal ausführen
Eine .net Applikation nur einmal starten lassen. Jeder weitere Start wird verhindert. multiple Ausführung verhindern
BindingContext zwischen verschiedenen Forms
If you want to keep in sync a newly opened form with the current then type: Form2 newform = new Form2(); newform.BindingContext = this.BindingContext;
Oracle Datenbank mit .net und C#
Gutes Tutorial in Italienisch dass den Datenzugriff auf Oracle Datenbanken durchleuchtet. Wobei der Provider von Microsoft und der Provider von Oracle ODP.NET beschrieben und verglichen werden.
Tutorial ADO.NET & Oracle
Latest Posts
Popular Posts
-
I am *very* keen on automating tests, so I was looking into unit testing a WCF service. If I say "unit test", I mean a fast ,...
-
It's easy I thought, just select the Property of the EntityType and set the Default Value in the Properties window to: DateTime.Now ...
-
*Updated* 26. September 2010: Updated with comments from Adam Cogan *Updated* 27. September 2010: Updated the comparison between anonymo...