The GridView control (as well as the DataGrid) has a way of defining the style of every other row of the grid. My favorite way of doing it, is to set a class on the row and then by stylesheet set the background like so...
Every time an email address is written on a website, it allows spam robots to collect it and abuse it. If you have a website (e.g. blog or forum) that displays the users e-mail address it would be a nice service to mask...
I’ve done a lot of web services during the last couple of years and I simply love Service Oriented Architecture using SOAP. The power of using services as a means to create large connected systems are enormous but...
Whenever I had to add a string to a web controls control collection I’ve always used the Literal control like this: Literal str = new Literal (); str.Text = "hello world" ; Page.Controls.Add(str); I have always thought a...
Today, I had to build web form that took user input from standard ASP.NET input controls. In one of the text boxes the user must to enter a valid URL, so I had to make some validation logic. But first of all, I had to...
The developer community has gotten big on the Internet the last couple of years – very big. New blogs are constantly adding value to the blogosphere which seem to grow by the second . There is no doubt in my mind that...
Back in February I wrote a post on how to export DataTables to XML and Excel and I still get a lot of search engine traffic to that post. People have been asking me to simplify the example and only concentrate on the...
Caching is a very easy solution to many performance related issues on almost any website. There are many different ways to use server-side caching and they all have their own unique advantages. But client-side caching is...
IE 7 final will be released very soon, but already now you can download it. The final version number is 7.0.5730.11. It doesn’t appear to be much different from the last beta. I've just downloaded it and the installation...
Among the differences between version 1.1 and 2.0 of .NET Framework is the many new controls. Even though most of them don’t add new functionality they make a lot of things much easier and cleaner than before. Some of...