Onteora Software

Ken Tucker's Blog
posts - 145, comments - 628, trackbacks - 0

October 2009 Entries

BlogEngine .Net

        I moved my blog today over to BlogEngine .Net today.  It is a nice blog engine that stores the blog entries in xml.  You can also publish blog entries with windows live writer or Word 2007.          To keep my existing links working I added to the rewriter class in the BlogEngine.Core.  I created an xml file which stores the OldUrl and the NewUrl to rewrite to. I store the urls I am rewriting in an xml (rewrite.xml) file in the App_Data directory In the UrlRewrite class I changed the context_BeginRequest procedure to this. private void context_BeginRequest(object sender, EventArgs...

posted @ Sunday, October 11, 2009 5:48 AM | Feedback (1) |

Paging a Windows Forms DataGridView with LINQ

Since Visual Studio 2008 is due out by the end of the Month I am updating some of my datagridview samples for LINQ. To start off create a new windows forms application in VS 2008 make sure you select FrameWork 3.5 so you can use linq       I now added a new Linq to Sql designer to the project and named it Northwind.  Drag the Northwind Products Table on to the design surface from the Server Explorer.           On your windows forms add a DataGridView (DataGridView1) and a NumericUpDown control (nuPage).  For this...

posted @ Sunday, October 11, 2009 5:48 AM | Feedback (1) | Filed Under [ DataGridView Linq VS 2008 ]

Powered by: