Friday, May 30, 2008

Read c#.net in more descreptive and easy way..

1:  Introduction to C# , 2:  Introduction to Variables , 3:  Using Variables , 4:  Introduction to Classes , 5:  C# and Code Organization , 6:  Data Reading/Formatting , 7:  The Methods of a Class , 8:   Combinations ofClasses , 9:  Introduction to Conditions , 10:Conditional Statements , 11:Conditional Switches , 12:Counting and Looping , 13:The Properties of a Class , 14: Inheritance , 15:Polymorphism/Abstraction , 16:Delegates , 17:Structures , 18: Built-In Classes , 19: Introduction to Exceptions , 20: Using Exceptions , 21: Introduction to Arrays , 22: Arrays and Classes , 23: Multidimensional Arrays , 24: The Array Class , 25: Strings , 26: Introduction to Indexers , 27: Classes and Indexers , 28: Introduction to Collections , 29: Iterating a Collection , 30: Intro to Collection Classes , 31: Generics , 32: Intro to File Processing , 33: Details on File Processing , 34: Files Operations , 35: Serialization , 36: Querying a List

To read more Jokes......

1. The Smiths were unable to conceive children and decided...
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...

To get Java script more information use bellow given link.
http://jennifermadden.com/javascript/stringSubstring.html

How to visible or invisible controls through Java Script....

You can visible or invisible controls with two different ways-
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?

In order to prevent the misinterpretation of special characters such as a space, bracket (<>), or % in the URL (which stands for Uniform Resource Locator - it is the address you see in your browser's address bar indicating the location of the website you are visiting), browsers parse certain special characters using escape characters. This explains why when you click on a link such as: domain.com/page one.htm you see it parsed in the address bar as domain.com/page%20one.htm. In this case the %20 is the escape character for the space.
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

This can't be the best SQL string split function around, and it's the 3rd string split function I've borrowed to solve a problem. To stop spaghetti creep, I've got to choose one and go with it.I could pick one of the 3 string split functions I'm using, but maybe if I poll the community at large with a large pole I'll find some string split function out there that's better than sliced bread.
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

This Article explores the concept of Regular Expressions in the context of C#, .NET support for Regular
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, ...