LevendFW

Last year Levend started the open source project LevendFW under my techincal lead. This is a framework that offers a web interface for asp.net application development. Free for all to download, use and extend.

We are still building the the major features, but there is code submitted already. Soon we will publish the first modules for this framework.

We are looking for developers and designers to contribute to the project. Please get intouch when you like join the project.

Nerd nor trendy, but having good ideas? Don't hesitate and tell us! 

project details

Resumé

I got my bachelor's degree in engineering in 2003. After working as a project engineer at a company that sells electrotechnical systems I started as a freelance software developer.

As a freelancer I worked at small and bigger (international) companies.

In 2009 I started together with Jeroen Rozeboom "Levend", a website and software company.

My LinkedIn Profile

 

Author: Willem de Jong Created: 1/1/2010 10:12 PM
Blog

For an application I am working on, I needed to integrate dynamic content from a webpage. Unfortunately the website doesn’t offer any kind of xml feed, so I needed to transform the xhtml from the webpage into a format for my application.

My first idea was to look at the xhtml as if it is xml, which could be a solution. Because I am convinced that there is always somebody else with the same problem or part of problem, I was searching the web for blog articles and forum posts for information about this.

Read More »

For a project I am currently working on I needed to convert a tab separated database file into a Datatable. The database file is a plain text file and the fields are tab separated, every record is a new line.

Just extend the string class, I thought, and add a function ToDataTable() which converts the string to a corresponding datatable. But then I found out that Microsoft decided to make the string class sealed. This means that you are not allowed to extend it.

But what if you really want to extend it? Build a wrapper? That is a lot of work and not very maintainable. Then I found out you can actually extend a sealed class by putting “this” as a parameter.

Public static DataTable ToDataTable(this string s)

If you put a function like this somewhere in a (static) class you can use it like this:

String TestString = “Test”;
DataTable Dt = TestString.ToDataTable();

With this you can, after reading out the database file, convert the text very easily to a DataTable en bind it to a Gridview.

Click on read more for the complete code to convert the tab separated string to a DataTable.

Read More »

Favorites