DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

Vort3X Subscribe to this feed
Vort3X
Profile Kicked Submitted Comments Tags Friends Kicked By Friends Submitted By Friends

Stories submitted by Vort3X
9
kicks
published 18 days, 13 hours ago, submitted by Vort3X 19 days, 6 hours ago

objectreference.net — Imagine you have a list of some items and checkboxes next to each item providing the ability for a user to make multiple choices and submit a result in one go. Weather you are implementing a news groups subscription, user survey or online products catalogue - the code behind is the same: we bind some object list to a data control like Repeater, add a checkbox to every item, set checkbox value to item ID. read more...

Add a comment add a comment | category: | Views: 135
tags: | tag it

14
kicks
published 1 month, 2 days ago, submitted by Vort3X 1 month, 2 days ago

objectreference.net — We use enums quite extensively in our application as they are a great for representing integral values in a strongly typed way using symbolic names. The enum names are not very friendly to the user and I recently read a some good articles which tried to solve this problem. However, I think i've found a better solution to this problem using extension methods. read more...

Add a comment add a comment | category: | Views: 353
tags: | tag it

1
kicks
submitted by Vort3X 1 month, 7 days ago

objectreference.net — This article is intended for amateur programmers, and/or people new to Object Oriented programming. “Object reference not set to an instance of an object” is probably the most common run-time exception message spat-out by the .Net framework, and most programmers will probably encounter this more often than any other framework exception type. read more...

Add a comment add a comment | category: | Views: 25
tags: | tag it

13
kicks
published 1 month, 12 days ago, submitted by Vort3X 1 month, 13 days ago

objectreference.net — As a .NET programmer most of my time is spent coding in C# and I try to avoid writing SQL where possible. Recently I had to write an insert stored procedure and needed to return the ID of the row I was inserting. While writing my usual bad SQL I came across a fascinating function I’ve never used before, SCOPE_IDENTITY(). read more...

Add a comment 7 comments | category: | Views: 251
tags: | tag it

4
kicks
submitted by Vort3X 1 month, 27 days ago

objectreference.net — LinqToSql is amazing! I've been working with it for the past week and loving every moment. However i've noticed somethig weird, it lies to me about the SQL it's generating. Here is my example... read more...

Add a comment 4 comments | category: | Views: 13
tags: | tag it

3
kicks
submitted by Vort3X 1 month, 29 days ago

objectreference.net — I have created IIS7 asset handler for my application which deals with images and stylesheets by serving them from a CMS database. For some reason the new IIS7 handlers section doesn't allow multiple paths for a handler, so you have to map each path like so... read more...

Add a comment add a comment | category: | Views: 0
tags: | tag it

30
kicks
published 2 months, 5 days ago, submitted by Vort3X 2 months, 5 days ago

objectreference.net — You could argue there are too many operators in C# as it is; however, I feel having an acute knowledge of the available operators is like knowing CTRL + B will bold the selected text in most word processing software. To put it simply, it hurts no-one, whilst providing shortcuts to advanced users... read more...

Add a comment add a comment | category: | Views: 8
tags: | tag it

36
kicks
published 2 months, 6 days ago, submitted by Vort3X 2 months, 7 days ago

objectreference.net — I develop for a large, high-availability website, with hundreds of thousands of daily users. As such, we need to cache a lot of data in our web-server memory (which is cheap) to save numerous hits to our main database cluster (which is very expensive). I would imagine the desire to improve performance by saving on database hits is common across many web applications – and caching frequently used data is often seen as one of the best ways to solve this problem. read more...

Add a comment 6 comments | category: | Views: 42
tags: | tag it

4
kicks
submitted by Vort3X 2 months, 10 days ago

objectreference.net — I keep forgetting how to do it and end up spending ages searching for it, so here is a very usefull extension method that allows you to select an item from a DropDownList using the text or value of the item without needing to know the index of the item. read more...

Add a comment add a comment | category: | Views: 3
tags: | tag it

23
kicks
published 2 months, 10 days ago, submitted by Vort3X 2 months, 13 days ago

objectreference.net — Being a C# developer by trade, I naturally spend a lot of my working life programming computers. Whilst I by no-means profess to be a “guru” of any kind, I do notice that there is one aspect of software development that is often neglected from discussion, and most programmers will hopefully agree with me as I explain. read more...

Add a comment add a comment | category: | Views: 7
tags: | tag it

4
kicks
submitted by Vort3X 2 months, 13 days ago

objectreference.net — TryParse method is very helpful if you need to convert string representation of a value to a value itself. TryParse is better than Parse method because it doesn’t throw any exceptions and just returns a Boolean value to indicate weather the parsing was successful. Surprisingly there is no TryParse method available to use for Enum and this is where extension method can be extremely useful. read more...

Add a comment add a comment | category: | Views: 17
tags: | tag it

9
kicks
submitted by Vort3X 3 months, 1 day ago

objectreference.net — Many times you find yourself having to convert the type of an object to another. The ToString() method is probably one of the most usefull methods, it's great for easy conversion of objects to string, but what if you want to do it the other way round. read more...

Add a comment add a comment | category: | Views: 0
tags: | tag it

1
kicks
submitted by Vort3X 4 months, 19 days ago

jonsagara.com — A couple of months ago, I ran into a problem where I was seeing a bunch of ThreadAbortExceptions showing up in my logs. It didn’t take long to track down why – I was calling Response.Redirect from within a try/catch block in my ASP.NET code-behind page, and the catch block was catching the ThreadAbortException and writing it out to the log. But why was the ThreadAbortException being generated? read more...

Add a comment add a comment | category: | Views: 0
| tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge