-
One of the task that a developer needs to accomplish is to code a module for logging, and creating it from scratch will take some of your precious time. So to be a little more productive, we can use a tested library like Log4Net. I have browsed for some pages and found a lot of variations. So putting...
Posted to
Humprey Evangelista Cogay
by
Comgen
on
04-30-2008
Filed under:
Filed under: Add-Ons, C#, .Net, Windows Forms, Text, Transaction Log File, Tracing, Log4Net, Logging, Configuration, Step by Step, windows apllication, How To
-
Yesterday I wrote an article explaning what var means in .NET 3.x . Today lets talk about Anonymous Types. Anonymous Types as describe by the C# 3.0 specification are tuple types automatically inferred and created from object initializers. Anonymous Types allows the new operator to be used with an anonymous...
-
A few days ago a forum question was posted in DevPinoy.org on how to read the values of a inside a GridViewRow and assigning them to a Label control(or TextBox) when that row is selected. I wasn't able to reply to that thread early due to time constraints with a project I had at that time but I told...
-
In one of the website I have developed, we feature random products displayed on a webpart. This can be done several ways either of the code behind or via t-sql but I think the simplest way to do it is via t-sql with the help of Guid columns. Globally Unique Identifier or GUID is a randomly generated...
-
I had very bad intermittent connection lately and this TortoiseSVN is really killing me. With my speaker system tuned on 60% volume playing jazz music to stimulate my mind, while I'm committing several files on our server, suddenly the SVN's error sound breaks my silence. This sound is really...
-
I was running a test on my Web Server today when a friend of mine IMed me about an interesting question about .NET. He was a new programmer for this company and the old developer that he replaced was running production(oh my) applications right of his desktop. The IT manager was getting worried because...
-
In ASP.NET, one of the tedious things to do is to get values from query string parameters, cast/convert to proper types and assign to local variable for further processing. Initally most developers simply code like this: 1 int orderId = Request.QueryString[ "order_id" ]; 2 OrderBLL orderManager = new...
-
dwarvend, a former teammate in my frist company once asked me about data paging large resulsets in ASP.NET. Data paging in SQL Server 2005 is relatively easy with new RowNumber feature but supporting dynamic sorting is little tricky. I have this executable to script to demonstrate this sorting. --check...
-
Seems like i learn something new everyday... public string Name { get { return name; } protected set { name = value; } } I never knew that i could put an accessibility level to the 'set' portion of my property. This technique is called Asymmetric Accessor Accessibility . Read more here .
-
A simple demo that shows how to create a Master-Detail View in ASP.NET. Creating the underlying classes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69...
-
In few days I have to hire a Danes translator and I wanted it to be easy for her to encode[:) of course!] and be guided properly what to put in. Initially I thought a friendly naming on resource ids is sufficient, but I was wrong. It won't help her because different pages share the same resource strings...
-
Geee! it's been more than a month since I last posted something in this blog. I have been really really busy this past few weeks with a huge project and a gragantuan task which made it really hard for me to write anything that is interesting. Anyway, I have been coding crazy as always when i found out...
-
When you are developing software product to be catered to diverse customers, it must be a standard to localized your software. With .NET this has never been easy, on .NET 2.0 its even easier with striongly typed resource files. But localizing application must be part of the architectture and should not...
Posted to
Rodel E. Dagumampan
by
dehran ph
on
11-07-2006
Filed under:
Filed under: .NET, sql server , ASP.NET, usability and design, Development Process, how to, L10N, localization, scripts, stored procedures, user interface, sql, sequel server
-
Maybe some of us are used into copying results of our query and pasting it to Excel for further analysis or reporting, but we are also used into SQL 2000 behaviour. With Sql Server 2005 Management Studio, you can copy and paste the query results including the headers. Just goto, Query -> Query Options...