I am running this Blog to help other guys, who are looking some bits and pieces in terms of MS technology....
Friday, May 30, 2008
C# InterView Questions....
Read C# in more descriptive and easy way
Read c#.net in more descreptive and easy way..
To read more Jokes......
2. A guy was trying to console a friend...
3. A hundred prostitutes in Washington D.C. were asked...
4. An old man was critically ill...
5. Little Johnny catches his parents going at it...
6. A man walks into a pharmacy, buys a condom...
7. A guy steps into an elevator and...
8. Soft and Hard
9. Whats the difference between a blond and a Mosquito?
10. A beautiful, voluptuous woman went to a gynecologist...
11. Pray hard
12. Charlie was in a bar and three babes came up and...
13. What is the definition of ultimate rejection?
14. A penis study
15. Fortunate ingenuity
16. A woman accompanied her husband to the doctors office...
17. Excuse TO smoke
18. A beautiful, voluptuous woman goes to a gynecologist...
19. Twice a day
20. Proffessional Terms
21. A new way to loose weight
22. A guy was sitting in a bar when a stranger...
23. The Perfect Worker
24. No $
25. Little Gregory wakes up in the middle of the night...
26. How does Michael Jackson pick his nose?
27. This man was having problems getting it up to have sex...
28. True love
29. There was this boy in high school that was what you would call...
30. Good News, Bad News, Worse News VII
31. Little Johnny was in his math's class one day...
32. One day, a young cowboy and a cowgirl decided...
33. A guy is screwing a great looking blonde...
34. A little boy was excited about his first day at school...
35. A horny young man went to a brothel...
36. An infamous stud with a long list of conquests...
37. Appropriate punishment
38. Why I Fired My Secretary
39. A man wonders if having sex on the Sabbath is a sin...
40. Paying Rent
41. A little girl was walking along a beach in California...
42. A clear moral
43. A horrible curse
44. Nauseous sex
45. It's dark in here
46. What did the hurricane say to the coconut tree?
47. Ed, Ted and their wives went out camping one weekend...
48. Trouble with the car
49. The Seven Most Important Men in a Woman's Life
50. Beep-beep
51. The subway car was packed...
52. I HAD A BAD DAY
53. What is the most insensitive part of a penis?
54. Golf lessons
55. What do you do if a blond throws a grenade at you?
56. A unit in sex education was about to begin...
57. This guy unexpectedly got the day off and decided...
58. On a very cold winter night...
59. A teacher, a garbage collector, and a lawyer wound up together at the Pearly Gates...
60. On their first night to be together...
61. A man moves into a nudist colony...
62. Working With The FBI
63. A farmer and his wife were laying in bed one night...
64. The same thing
65. Communication problem
66. A dubious remedy
67. Brand new
68. A middle manager is called into his bosses office...
69. Jane was a first time contestant on the $65,000 quiz show...
70. All the same
72. Some people are sitting in a bar...
73. Crazy Sally went to her gynecologist...
74. A group of Americans was touring Ireland...
75. Stuttering animal
76. Two law partners leave their office and go to lunch...
77. A man was being interviewed for a job...
78. A convincing lesson
79. Clinton died and was standing at hte Pearly Gates...
80. Cheap widow
81. A marine general, an army general and a navy admiral...
82. What do you call a gay bar that has no chairs?
83. Golfing
84. The medical student was asked four reasons...
85. An old man and an old woman were sitting...
86. The three wishes
87. The price decides everything
88. Peanuts
89. Chanowski & his other Polak drinking buddy are sitting...
90. Sue and Sally meet at their 30th class reunion...
91. I went past a plastic surgeon's shop...
92. George W. Bush was passing through an airplane terminal...
93. Merry...ied talk
94. Bad news
95. A state trooper pulled a car over...
96. Great A Hot & Juicy Story
97. Two Tourists
98. Punishment that fits the crime
99. Blondes dumb?!?!?
100. One day a blonde went into Wal-Mart and...
Tuesday, May 20, 2008
To get more information of Java script use bellow link...
http://jennifermadden.com/javascript/stringSubstring.html
How to visible or invisible controls through Java Script....
1) var control;
control=document.getElementById("controlId");
control.style.display="none";
control.style.display="block";
2) var control;
control=document.getElementById("controlId");
control.style.visibility="visible";
control.style.visibility="hidden";
first one work with IE,Netscape,Mozila,etc. smoothely.
second one work with IE only.
Thursday, May 15, 2008
What is the % Code in My URL?
Common URL Escape Characters
Table of URL Escape Characters
Character Escape Character Character Escape Character
Space %20 # %23
$ %24 % %25
& %26 @ %40
' %60 / %2F
: %3A ; %3B
< %3C = %3D
> %3E ? %3F
[ %5B \ %5C
] %5D ^ %5E
{ %7B %7C
} %7D ~ %7E
SQL string split function
CREATE FUNCTION dbo.Split
( @RowData nvarchar(2000), @SplitOn nvarchar(5))
RETURNS @RtnValue table
( Id int identity(1,1), Data nvarchar(100))
AS
BEGIN
Declare @Cnt int
Set @Cnt = 1
While (Charindex(@SplitOn,@RowData)>0)
Begin
Insert Into @RtnValue (data)
Select Data = ltrim(rtrim(Substring(@RowData,1,Charindex(@SplitOn,@RowData)-1)))
Set @RowData = Substring(@RowData,Charindex(@SplitOn,@RowData)+1,len(@RowData))
Set @Cnt = @Cnt + 1
End
Insert Into @RtnValue (data)
Select Data = ltrim(rtrim(@RowData))
Return
END
Regular Expressions and C#, .NET
Expressions, Meta-characters and their Description, Character Escapes, Substitutions, Character Classes, Regular Expression Options and Atomic Zero-Width Assertions.
What are regular expressions?
Regular expressions are Patterns that can be used to match strings. You can call it a formula for matching strings that follow some pattern. Regular expression(s) can be considered as a Language, which is designed to manipulate text. You can then ask questions such as
“Does the given string match the pattern?”, or “Does the given string contain characters that match a pattern?”. Regular Expressions may be used to find one or more occurrences of a pattern of characters within a string. You may choose to replace it with some other characters or perform some other tasks based on the results obtained. These patterns of characters can be simple or very complex. Regular Expressions generally comprises of two types of characters –
1) Literal or Normal Characters such as “abcd123” 2) Special Characters that have a special meaning such as “.” Or “$” or “^”
Due to the special characters Regular Expressions form a very powerful means of manipulating strings and text.
.NET support for Regular Expressions:
.Net provides an extensive set of Regular expressions which you could use to create, modify or compare strings. They can be classified as follows –
a) Character Escapes b) Substitutions c) Character Classes d) Regular Expression Options e) Atomic Zero-Width Assertions f) Quantifiers g) Grouping Constructs h) Backreference Constructs i) Alternation Constructs j) Miscellaneous Constructs
Split the String values with a special character in MS Flow to convert this into Array
Many times we have a requirement to prepare the Mailing address for some of the documents, suppose there are Address Line1, Address Line2, ...
-
Use the following line of code to Reopen the closed task in CRM 2011 // Re-open the Task to update it SetStateRequest ssr = new SetStat...
-
Use the following line of code to create complete workflow activity with two output parameters. 1) Open Visual Studio 2010 ID. 2) Open ...
-
Sometimes you experienced when you have subgrid in your CRM Form, but when you click the ‘expand’ button to expand the view then it will re...