|
|
xtremebiz
Stories submitted by xtremebiz
|
|
submitted by
xtremebiz
8 days, 7 hours ago
codeforeternity.com — We can use the ElementAt extension method of LINQ to return the element at a specified index (zero based) in a sequence. However the ElementAt extension method would throw the System.ArguementOutOfRangeException when the specified index is a negative value or not less than the size of the sequence. In such a scenario, we can use the ElementAtOrDefault extenion method which would return the default value of a type instead of throwing the System.ArguementOutOfRangeException.
Read this article for code example (both in C# and VB.NET) with comments read more...
add a comment
|
category: C# | Views: 6
|
|
tags:
3.5, .net3.5, VB.NET, C#, LINQ | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
xtremebiz
2 months, 30 days ago
codeforeternity.com — I recently had to write a T-SQL function which cleans up all non numeric characters from a varchar variable and returns the int value of the remaining numeric characters. If no numeric characters exist, the function should return zero. I thought it would be nice to share this with you and I hope you find this useful ;-) Expected output of the function:
PRINT dbo.GetIntFromVarchar('R1A2J3') -- returns 123
PRINT dbo.GetIntFromVarchar('COOL456CODER') -- returns 456
PRINT dbo.GetIntFromVarchar('789') -- returns 789
PRINT dbo.GetIntFromVarchar('GEEK') -- returns 0 read more...
add a comment
|
category: Database | Views: 6
|
|
tags:
Database | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
xtremebiz
3 months, 1 day ago
codeforeternity.com — This post explains about the Single and SingleOrDefault extension methods of LINQ, possible exceptions which can be thrown, and provides code examples both in C# and VB.NET along with code comments. read more...
add a comment
|
category: Linq | Views: 115
|
|
tags:
VB.NET, ExtensionMethods, 3.5, LINQ, .net3.5 | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
xtremebiz
3 months, 7 days ago
codeforeternity.com — Few months back, I got below joke emailed to me by my friend who is also a passionate coder. In my personal (and humble) opinion, below joke hits jackpot with the current state of 9 out of 10 IT companies in India, which are headed by people who have zero or very little technical background. And perhaps this explains why Indian IT companies still have to market themselves as low cost outsourcing destinations to win business any why we still dont have too many Product based IT companies in India :-) Is the story same in your country too? Let me know, I would love to hear :-) read more...
add a comment
|
category: Community | Views: 10
|
|
tags:
Business, management, Community | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
xtremebiz
3 months, 13 days ago
codeforeternity.com — You must have come across plenty of articles on the internet which talk about using the StringBuilder class when computing large strings for performance gains. Nothing wrong with that. However I have not seen many coders using the Initial Capacity constructor of the StringBuilder class which can further result in EXTREME PERFORMANCE. read more...
|
|
tags:
CodeBetter, string, Tips, Performance | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
xtremebiz
3 months, 22 days ago
codeforeternity.com — After reading my earlier post "T-SQL Query to Find the Second Highest Column Value in a Table" a lot of users asked me to also help them with writing a query to find the second lowest column value in a table. Read this post for the solution. read more...
add a comment
|
category: Database | Views: 13
|
|
tags:
SQL, SQLServer, Database | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
xtremebiz
3 months, 24 days ago
codeforeternity.com — This post explains about the Last and LastOrDefault extension methods, possible exceptions which can be thrown, and provides code examples both in C# and VB along with code comments. read more...
add a comment
|
category: Linq | Views: 30
|
|
tags:
3.5, .net3.5, LINQ | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
xtremebiz
3 months, 27 days ago
codeforeternity.com — This post explains about the First and FirstOrDefault extension methods, possible exceptions which can be thrown, and provides code examples both in C# and VB along with comments. read more...
add a comment
|
category: Linq | Views: 34
|
|
tags:
3.5, .net3.5, LINQ | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
xtremebiz
4 months, 5 days ago
codeforeternity.com — 18 cool Extension Methods to for cleaner data access using the DataReader class. Cut down your data access code by using these 18 Extension Methods. Full source code available for download :-) read more...
add a comment
|
category: C# | Views: 13
|
|
tags:
.net3.5, ADO.NET, 3.5, C#, CodeBetter | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
xtremebiz
4 months, 14 days ago
codeforeternity.com — After upgrading from Visual Studio 2008 Beta 2 to Visual Studio 2008 RTM, you might get the following error in your ASP.NET projects: Could not load file or assembly 'System.Data.DataSetExtensions, Version=2.0.0.0
Read this post for solution. read more...
|
|
tags:
.net3.5, 3.5, VisualStudio, ASP.NET | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
xtremebiz
4 months, 23 days ago
codeforeternity.com — Excellent hack to make Non Themeable properties of ASP.NET controls Themeable. After learning this hack, you would be able to set the Display and the ValidationExpression properties of the RegularExpressionValidator control directly from a Skin file !!! Even the MaxLength property of a TextBox. Would it not be cool to validate all email addresses across your website through a single Skin file ??? read more...
add a comment
|
category: ASP.NET | Views: 0
|
|
tags:
Tricks, CodeBetter, ASP.NET, Tips | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 5 months, 28 days ago, submitted by
xtremebiz
5 months, 30 days ago
codeforeternity.com — Step by step tutorial (with screen shots) on creating self signed SSL certificates on IIS 6.0 and Win 2003 development / test servers using the FREE SelfSSL tool which comes with IIS 6.0 Resource Kit Tools. You can even use it to secure your local intranet. read more...
add a comment
|
category: ASP.NET | Views: 40
|
|
tags:
Security, IIS6.0, WindowsServer, ASP.NET, IIS | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
xtremebiz
5 months, 30 days ago
codeforeternity.com — If you are interested in learning how to design and develop world class highly scalable ASP.NET web portals using the latest and coolest Microsoft.NET technologies like ASP.NET 3.5, LINQ, Windows Workflow Foundation (WWF), ASP.NET AJAX, etc, then buy this great new book by Omar Al Zabir read more...
add a comment
|
category: ASP.NET | Views: 9
|
|
tags:
AJAX, WWF, 3.5, ASP.NET, LINQ | tag it
Everyones tags: | Your tags: | |
|
|
|
|

Sponsored Link: www.carlist.ie
Ads via The Lounge
|