Sign in
|
Join
|
Help
in
Current Tags
Technology
code for eternity !!! Blogs
(Entire Site)
code for eternity !!!
community website for .net freaks ;-)
Home
Blogs
This Blog
Home
Syndication
RSS
Atom
Comments RSS
Receive Email Updates
Recent Posts
LINQ ElementAt and ElementAtOrDefault
T-SQL Function to Get Int From Varchar
Developers are Born Brave
Coders versus Project Managers
LINQ Single and SingleOrDefault
Tags
.NET 3.5
AJAX
Architecture
ASP.NET
Bugs
C#
Code Better
Community Server
Extension Methods
Facebook
GoDaddy
Google
Humor
IIS
LINQ
Management
Mobile
Performance
Security
SharePoint
Silverlight
SQL Server
Tips And Tricks
VB.NET
Vista
Visual Studio
Windows Server
WinForms
WPF
WWF
Archives
August 2008
(1)
May 2008
(6)
April 2008
(6)
March 2008
(2)
February 2008
(2)
January 2008
(5)
December 2007
(6)
Technology
Browse by Tags
All Tags
»
.NET 3.5
(
RSS
)
AJAX
ASP.NET
C#
Code Better
Extension Methods
LINQ
VB.NET
Visual Studio
WinForms
WWF
LINQ ElementAt and ElementAtOrDefault
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...
Posted
Aug 13 2008, 03:02 PM
by
raj
with | with
1 comment(s)
Filed under:
LINQ
,
.NET 3.5
LINQ Single and SingleOrDefault
We can use the Single extension method of LINQ to return the only element in a sequence that satisfies a specified condition. However the Single extension method would throw the System.InvalidOperationException when no element in a sequence satisfies...
Posted
May 10 2008, 02:27 PM
by
raj
with | with
2 comment(s)
Filed under:
LINQ
,
.NET 3.5
AddItem Extension Method for BulletedList, CheckBoxList, DropDownList, ListBox, RadioButtonList
We would have to write the below code to add a new item (with value) to any of these 5 controls (BulletedList, CheckBoxList, DropDownList, ListBox, RadioButtonList) C#: bulletedList.Items.Add(new ListItem("text", "value")); checkBoxList...
Posted
May 09 2008, 04:03 PM
by
raj
with | with
5 comment(s)
Filed under:
Code Better
,
ASP.NET
,
.NET 3.5
,
Extension Methods
LINQ Last and LastOrDefault
We can use the Last extension method of LINQ to return the last element in a sequence that satisfies a specified condition. However the Last extension method would throw the System.InvalidOperationException when no element in a sequence satisfies a specified...
Posted
Apr 27 2008, 09:31 AM
by
raj
with | with
2 comment(s)
Filed under:
LINQ
,
.NET 3.5
LINQ First and FirstOrDefault
We can use the First extension method of LINQ to return the first element in a sequence that satisfies a specified condition. However the First extension method would throw the System.InvalidOperationException when no element in a sequence satisfies a...
Posted
Apr 25 2008, 06:22 PM
by
raj
with | with
2 comment(s)
Filed under:
LINQ
,
.NET 3.5
Cool Extension Methods for IDataReader Interface
I find it really annoying to use the GetOrdinal method of the DataReader class everytime I have to access data in a strongly typed manner using any of the Get[DataType] methods of the DataReader class. Have a look at below code: int employeeID = dr.GetInt32...
Posted
Apr 15 2008, 11:34 PM
by
raj
with | with
5 comment(s)
Filed under:
Code Better
,
.NET 3.5
,
Extension Methods
System.Data.DataSetExtensions Assembly Error in Visual Studio 2008 RTM
After upgrading from Visual Studio 2008 Beta 2 to Visual Studio 2008 RTM, I got the following error when I tried to build my ASP.NET 3.5 project which was initially coded using Visual Studio 2008 Beta 2: Could not load file or assembly 'System.Data...
Posted
Apr 05 2008, 02:27 PM
by
raj
with | with
3 comment(s)
Filed under:
ASP.NET
,
.NET 3.5
,
Visual Studio
Cool TrimText Extension Method for TextBox
Extension Methods are one of the most powerful features of .NET 3.5 and they can add a lot of flexibility to your code and help in cutting down your code size significantly if used wisely. I have been using a lot of Extension Methods in my code lately...
Posted
Mar 03 2008, 09:01 AM
by
raj
with | with
1 comment(s)
Filed under:
ASP.NET
,
WinForms
,
.NET 3.5
,
VB.NET
,
C#
,
Extension Methods
Building a Web 2.0 Portal with ASP.NET 3.5
I recently purchased this great new book named Building a Web 2.0 Portal with ASP.NET 3.5 by Omar Al Zabir and I would highly recommend this book to any architect or developer who is interested in learning how to design and develop world class highly...
Posted
Feb 13 2008, 04:40 PM
by
raj
with | with
5 comment(s)
Filed under:
ASP.NET
,
LINQ
,
.NET 3.5
,
AJAX
,
WWF