IsNumeric() function in C#?

« HR Manager story | Sort based on input parameter in oracle query. » IsNumeric() function in C#? by Vahid 3. January 2009 05:36 hi, as you may know c# is missing the nice and usfull IsNumeric function which is available in VB.net. but it is a trivial task to implement a generic equvelant function for it. look at the following code. it will return true if the value is numeric and false if the value is false. ...

January 3, 2009 · 1 min

HR Manager story

« XML Tools | IsNumeric() function in C#? » HR Manager story by Vahid January 2009 18:59 One day while walking down the street a highly successfulHuman Resources Manager was tragically hit by a bus and she died. Her soul arrived up in heaven where she was met at the Pearly Gates by St. Peter himself. “Welcome to Heaven,” said St. Peter. “Before you get settled in though, it seems we have a problem. You see, strangely enough, we’ve never once had a Human Resources Manager make it this far and we’re not really sure what to do with you.” “No problem, just let me in,” said the woman. “Well, I’d like to, but I have higher orders. What we’re going to do is let you have a day in Hell and a day in Heaven and then you can choose whichever one you want to spend an eternity in.” “Actually, I think I’ve made up my mind, I prefer to stay in Heaven”, said the woman “Sorry, we have rules…” And with that St. Peter put the executive in an elevator and it went down-down-down to hell. The doors opened and she found herself stepping out onto the putting green of a beautiful golf course. In the distance was a country club and standing in front of her were all her friends - fellow executives that she had worked with and they were well dressed in evening gowns and cheering for her. Th! ey ran up and kissed her on both cheeks and they talked about old times. They played an excellent round of golf and at night went to the country club where she enjoyed an excellent steak and lobster dinner. She met the Devil who was actually a really nice guy (kindof cute) and she had a great time telling jokes and dancing. She was having such a good time that before she knew it, it was time to leave. Everybody shook her hand and waved goodbye as she got on the elevator. The elevator went up-up-up and opened back up at the Pearly Gates and found St. Peter waiting for her. “Now it’s time to spend a day in heaven,” he said. So she spent the next 24 hours lounging around on clouds and playing the harp and singing. She had great time and before she knew it her 24 hours were up and St. Peter came and got her. “So, you’ve spent a day in hell and you’ve spent a day in heaven. Now you must choose your eternity,” The woman paused for a second and then replied, “Well, I never thought I’d say this, I mean, Heaven has been really great and all, but I think I had a better time in Hell.” So St. Peter escorted her to the elevator and again she went down-down-down back to Hell. When the doors of the elevator opened she found herself standing in a desolate wasteland covered in garbage and filth. She saw her friends were dressed in rags and were picking up the garbage and putting it in sacks. The Devil came up to her and put his arm around her. “I don’t understand,” stammered the woman, “yesterday I was here and there was a golf course and a country club and we ate lobster and we danced and had a great time. Now all there is a wasteland of garbage and all my friends look miserable.” The Devil looked at her smiled and told… ...

January 1, 2009 · 4 min

XML Tools

« History Lesson | HR Manager story » XML Tools by Vahid 25. December 2008 20:36 working extensively on XML these days, i was in need a good tool which has the ability to evaluate XPath queries. i have been using XML Notepad for a long time and really like the tool but there is not feature in the tool to evaluate Xpath queries. searching around i found XML Explorer. the tool supports so many functions and it is really fast. You need to work on xml like me, take the tools from here ...

December 25, 2008 · 1 min

History Lesson

« Bush Security Upgraded | XML Tools » History Lesson by Vahid 24. December 2008 18:48 Have a history teacher explain this—– if they can. Abraham Lincoln was elected to Congress in 1846. John F. Kennedy was elected to Congress in 1946. Abraham Lincoln was elected President in 1860. John F. Kennedy was elected President in 1960. Both were particularly concerned with civil rights. Both wives lost their children while living in the White House. ...

December 24, 2008 · 2 min

Bush Security Upgraded

« سوال و جواب های مهم زندگی | History Lesson » Bush Security Upgraded by Vahid 21. December 2008 16:15 General Comments (0) Related posts Software development security check list Recentely i have joined a new as a technical architect. the very thing after getting to the domain…Solution for CS0016 Error on ASP.NET and IIS7if you are also new to IIS7 like me and have tried to deploy an ASP.net web site to IIS7, you must h…T4 to rescue and save you time till yesterday i had never used T4 for a real problem solving. i knew what it is but i did not kno… ...

December 21, 2008 · 1 min