I moved (only a few miles - still Wuppertal) and I’m still waiting for telephone and internet :-( So I have a lot of time for coding a few HttpHandlers and Controls I wanted to build a long time ago. I’m having fun with C#.
Websites and blogs of people that attended a Homebrew Website Club Düsseldorf.
Chris is blogging!
And uses the wonderfull URL http://www.himmelherrgottsakramentzefixhallelujascheissglumpatverreckts.com/
OleDb, Decimal and DBConcurrencyException
I had some trouble with a WebForm, including a OleDbDataAdapter, a DataSet and uses the OleDbCommandBuilder to publish the CommandText property to the DataAdapter, that tries to update five Decimal columns in a Access database. No matter what I did, the Update method of the DataAdapter threw a DBConcurrencyException. After googling a few minutes I found someting about the ODBC/JET data type limit. So I changed the Decimal to a Double and now all works fine.
Testing BlogJet
I just have installed BlogJet. It seems to fit my needs to blog from the desktop.
Time to move
A lot of server moves happend in the last few days. AspHeute.com, DotNetGerman.com (where my blog lives) and CodeProject.com just to name a few. I hope this will speed up my life a bit.
Thanks to Chris - My blog is...
fast, faster … wow.
Chris Maunder - Whats up with CodeProject.com
CodeProject.com used to be one of my favorite sites. R.I.P or what is going on. :-(
HttpApplication Events and the use of Application, Session, User, Request & Response
1/3 MCAD.NET or passed 70-315
I just passed the 70-315 exam (Developing and Implementing Web Applications with Microsoft Visual C# .NET and Microsoft Visual Studio .NET).
Articles & Talks
Denn Sie wissen nicht was sie tun - Impersonisation Impersonisation: Wen, wann und wie authentifizieren Mit Impersonation lässt sich Code im Kontext eines definierten Benutzers ausführen. Wer damit arbeitet, sollte genau wissen, was er tut, um icht das Gegenteil dessen zu erreichen, was er eigentlich bezweckte. DOTNET Pro Return to Sender - Email Adressen validieren E-Mail-Adressen validieren? Ein alter Hut! Aber testet Ihre Routine auch, ob beim Domain Name Service ein entsprechender Mailserver registriert ist?
Michael Fanning about New Version Of FxCop
Michael Fanning blogs about the next version of FxCop.
Thoemmi about the third place
Check http://thomasfreudenberg.com/blog/archive/2004/01/22/321.aspx
OleDb + DataSet
Just a small code sample to show how to access an access database file with OleDb and the DataSet class. Just hacked together and not for production use. <%@ Page language="C#" %> <script runat="server"> private void Page_Load(object sender, System.EventArgs e) { System.Data.OleDb.OleDbConnection _conn = new System.Data.OleDb.OleDbConnection(); _conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" + "DataSource=D:\WebRoot\data\data.mdb"; System.Data.OleDb.OleDbCommand _cmd = _conn.CreateCommand(); _cmd.CommandType = System.Data.CommandType.Text; _cmd.CommandText = "SELECT Name FROM Users WHERE ID=1"; System.Data.OleDb.OleDbDataAdapter _adapter = new System.
OleDb + DataReader
Just a small code sample to show how to access an access database file with OleDb and the DataReader class. Just hacked together and not for production use. <%@ Page language="C#" %> <script runat="server"> private void Page_Load(object sender, System.EventArgs e) { System.Data.OleDb.OleDbConnection _conn = new System.Data.OleDb.OleDbConnection(); _conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" + "DataSource=D:\WebRoot\data\data.mdb"; System.Data.OleDb.OleDbCommand _cmd = _conn.CreateCommand(); _cmd.CommandType = System.Data.CommandType.Text; _cmd.CommandText = "SELECT Name FROM Users WHERE ID=1"; _conn.Open(); System.Data.OleDb.OleDbDataReader _reader = cmd.
Merry X-Mas - I'm offline...
Merry X-Mas to all out there. I’ll be offline the next days as I think the most of us are. So if I won’t be back in this year, I wish a happy new one and we’ll see us in 2004.
70-320
I just started reading “Developing XML Web Services and Server Components with Microsoft Visual C# .NET and the Microsoft .NET Framework” by Amit and Priti Kalani. According to what Peter Provost it gives a few good tips and a complete overview of what I can expect in this exam.
About making mistakes ...
Eric Sink: Make all the non-fatal mistakes that you can — don’t make any of the fatal ones… Read more…
Automatic globalization of the Label control
The PreRender event of the Label control allows to attach a method that can translate the value of the Text property. Connected with a resource or a database and used in a custom base class for Page or in a server control it’s very easy to localize a website. override protected void OnInit(EventArgs e) { ctrl.PreRender += new System.EventHandler(Translator.TranslateLabel); ...
Upgrades
Yes! 1.5 dasBlog running. Looks good, runs fast. Thanks Chris.
Wishlist
I downloaded the Max Payne 2 Trailer and the Need for Speed Underground Demo and both are definitely on my wishlist for x-mas.