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 [...]
Archive for June, 2008
Exporting a DataTable to Excel
Posted in ADO.NET, C#, tagged ASP.NET, C#, DataTable, Encoding, Excel, Export on June 26, 2008 | 2 Comments »
Ajaxism! Making your ASP.NET application Ajax enabled. (1)
Posted in ASP.NET, Ajax, tagged ., Ajax, asp, FIREFOX, onreadystatechange, readyState, XMLHTTPREQUEST on June 20, 2008 | 5 Comments »
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 [...]
How to open popup windows in IE/Firefox and return values using ASP.NET
Posted in C#, tagged ASP.NET, C#, FIREFOX, IE, POPUP on June 9, 2008 | 14 Comments »
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 [...]
DataTable.Compute method is lovely…
Posted in ADO.NET, C#, tagged ADO.NET, AGGREGATE, C#, COMPUTE, SUM on June 8, 2008 | 7 Comments »
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 [...]
Download a file into client with ASP.NET 2.0
Posted in ASP.NET, C#, tagged ASP.NET, C#, CLIENT, Download, FILE on June 8, 2008 | 1 Comment »
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 [...]
What is the goal of this weblog?
Posted in Introduction on June 8, 2008 | 3 Comments »
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 [...]