Feeds:
Posts
Comments

Archive for June, 2008

In many cases Microsoft Excel can do much for you and reduce your programming efforts. For example, if you must provide a printable version of a data collection or you need to provide a report with grouping, you may send all information to Excel and let the end-user do it with Excel. Therefore, knowing how [...]

Read Full Post »

Many ASP.NET developers believe that AJAX is equal to putting an update panel on a form and using it! I do not blame those programmers because Microsoft Ajax Extensions has come to ease the process of making a web site Ajax enabled and making Ajaxing procedures transparent. However, I believe every developer must know [...]

Read Full Post »

Recently, I needed a Gridview control which could support subtotals. I probed many ASP.NET forums and surprisingly I found that many guys had said it was impossible or at least hard to implement! Therefore, I gave it a try and finally l managed to show subtotals in a gridview control.
In writing that Gridview control I [...]

Read Full Post »

Sorting a list of objects

A programmer often comes across a situation in which he has to sort a list of numbers or a series of objects. Sorting primitive types is a very easy job in .NET because the Array class provides a static method named Array.Sort which sorts an array in ascending order. The following example demonstrates how to [...]

Read Full Post »

Recently, a friend of mine asked about how to open popup (modal) windows in IE/Firefox and return the values back to the main page. although there are tons of question/answers about this subject in ASP.NET forums, nearly none of them was comprehensive enough. For this reason and to answer my friend’s question I am going [...]

Read Full Post »

For some reasons I do like to use DataSets (and Datatables) rather than DataReaders or other sort of IList collections to hold a list of records. Especially, typed DataSets are very helpful and am intended to write some articles about exploiting them later in this weblog. For example we can fill DataTables’s data/metadata by retrieving [...]

Read Full Post »

Recently I have been involved in developing a program to manage our own company’s contracts. Since every time I write a program I try go trough it with a new approach, I learned a lot of things and I am gonna share them with you here, tough they might not be that complicated.
One feature that [...]

Read Full Post »

Hello everyone,
For a very long time I’ve been developing applications for both individuals and businesses. It’s over 15 years since I wrote my very first Hello World program and I must confess that majority of my knowledge in programming has been learned from other programmers. For this reason, I always like to teach other new [...]

Read Full Post »