Archive for the ‘.NET’ Category

First use of Visual Studio 2010 : the installation

Yesterday I received a visual studio 2010 Ultimate edition from work.
I’ve already test the  express edition when it was in beta phase, but it’s not the same …
So, let’s install it !
I install it on a Fujitsu Siemens laptop with 4 GB Ram and a Intel Core 2 Duo processor (2,53 GHz) running  [...]

More »

CSS Mixer

 Css mixer is a tool I’ve developped in C# winforms, .NET framework 3.5
You can use it to improve you ASP.NET Themes or your CSS files for all your web projects.
If you have many css files linked to a page, you can group them in a single file with CSS Mixer.
You can also minify CSS files [...]

More »

Copy datatable’s row to an other datatable’s row

This method perform a row copy with a few checks

public static void CopyRowToAnOther(DataRow row, DataRow anOtherRow)
{

if (row == null || row.Table == null
[...]

More »

Don’t repeat your common CSS between your different themes

To fully understand this article, you need an Asp.Net Themes system knowledge
The case :
You have an application with a CSS layout, and a few themes.
There is just a little change between the different themes, by example you change only the color scheme.
A solution to do that is to repeat all CSS files in all your [...]

More »

How to change the style elements of a listview? (the simple way)

With the ast.net listview control, you can set an AlternatingItemTemplate in order to change the display or what you want.
If you just want to change the backcolor or things like that, you can spare some time by using only the ItemTemplate and applying a diffenrent style depending of the index (use of the Container.DataItemIndex property).
example [...]

More »