|
|
-
16 Liked
| 14 Learned
| 1 Comments
|
|
Recently a colleague of mine asked me to give him a code for replacing spaces,dots(.),hyphens(-),braces '(' and ')'.
Here is my solution
[Code]string str= "This is a string having - and - - - - It also has dot (.) Many dots(.....)"; [/Code]
A......
|
|
-
15 Liked
| 12 Learned
| 0 Comments
|
|
Recently couple of times, I have a requirement of showing execution time to the users. Both times, I followed the approach of taking a starttime variable and stop time variable and calculating difference between those variables.
Today I saw an MSDN b......
|
|
-
14 Liked
| 11 Learned
| 3 Comments
|
|
Today I just learn from ABHISHEK DEY Post
If you are working with VS 2010 (any Edition) and cannot open your 2010 solution on VS 2008 then just follow these 3 Steps:
For .sln:
1. Open the solution file in your favorite text editor (ex:...
|
|
-
14 Liked
| 12 Learned
| 3 Comments
|
|
In my previous post, I showed how to find whether the request came from Mobile or PC. But later my requirement is extended to find whether the request came from IPAD or not also. For this. We can use Request.UserAgent, If it has the word "ipad", it mean......
|
|
-
13 Liked
| 11 Learned
| 2 Comments
|
|
Though I know viewstate is vulnerable to security as it reveals sensitive information, I always thought that its reasonably difficult to decode. But i found that decoding viewstate is very much simpler. ASP.NET has a class "LosFormatter", by using which......
|
|
-
13 Liked
| 12 Learned
| 11 Comments
|
|
Adding the /NOSPLASH option to your Visual Studio\BIDS shortcut will make Visual Studio\BIDS launch quicker :
%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe /NOSPLASH
%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE\d......
|
|
-
|
|
Type “prop” and press tab 2 times it create property for you just give data type and name of property you would like to create....
|
|
-
|
|
Here is a quick shortcut to browse folders from taskbar itself instead of opening mycomputer and going through each folder.
1. In Taskbar, Right click and Go to Toolbars -> New Toolbar, which opens the folder dialog box
2. Suppose, you often open......
|
|
-
|
|
Step:1 Open Visual Studio 2010.
Step 2 – Go to Tools -> Options -> Text Editor -> All Languages. Then, unchecked the Auto list members check-box.
Thank You
Kirti Darji...
|
|
-
|
|
Here is 3 shortcuts in visual studio, that today i learned, which increases productivity.
F9 - To set a break point, Clicking again on that will remove that break point.
Ctrl + K, d - To format the page
Shift + Del - To cut the current line, wit......
|
|