Browse: Home / Programming
By Sumit Gupta on October 11, 2011
I see lot of people asking about GDI+ Generic Error. Since this is “generic” error nobody can tell what is wrong with code. So did a work around and get it working. I had this error quite a time in early days of my programming and just found same error in one of junior’s code. [...]
Posted in .NET, ASP.NET, C#.NET, VB.NET/VB, WPF | Tagged .NET, GDI+, Generic Error |
By Sumit Gupta on September 19, 2011
Well if you search topic on google you will find lot about it. But here is quick guide for me with little explanation. 1. Plesk do not ship PHP as it’s integrated part, so it ask you to upgrade outside plesk and they do not provide support on it. 2. On Linux you can use [...]
Posted in Operating System, PHP, Server Configuration | Tagged atomic, PHP, PHP Upgrade, Server upgrade |
By Sumit Gupta on September 8, 2011
Recently I found a problem in one of application we developed. Here my colleague use a Static SqlConnection object through a class in his code. He did that to save his effort of writing and Connection everytime. Everything works great during our development and online reviewing. However as soon as we lauch website in beta [...]
Posted in .NET, ASP.NET, C#.NET, Concept/algorithm, Database, VB.NET/VB | Tagged ASP.NET, SQLConnection, Static Object |
By Sumit Gupta on July 21, 2011
To use Session data in Handler Class you need to implement IRequiresSessionState which is part of Following namespace (using for helping copy/paste ) using System.Web.SessionState; Self reminder
Posted in .NET, ASP.NET, C#.NET |
By Sumit Gupta on July 21, 2011
Okay, I create a pure CSS menu that use UL/LI structure to maintain the child relationship. All was great with this menu except that when you are on any of menu item page it doesn’t highlight that menu item explicitly. If you consider this it is not a big deal. What you can do is [...]
Posted in Concept/algorithm, HTML/CSS, Javascript, JQuery |
By Sumit Gupta on May 28, 2011
I need to throw some database entry which are as simple as TIME, for this I got a string array in my ASP.NET code behind. I was throwing this String Array in JSON format after using JavascriptSerialize.Serialize method and it is making not so perfect Json script. I said it is not making perfect json [...]
Posted in .NET, ASP.NET, C#.NET, JQuery, JSON, VB.NET/VB | Tagged .NET, Jquery, JSON, Serialize |
By Sumit Gupta on May 7, 2011
I was looking for the TimeZone Database which also need to told me if Given Timezone is DayLightSaving enabled or not. After searching few hours on Internet I found few database that do not tell the Daylight Saving stuff. Then I found a function in TimeZoneInfo class that list all System Timezone, I loop through [...]
Posted in .NET, C#.NET, Operating System, Programming | Tagged TimeZone, TimeZoneInfo |
Recent Comments