Joined December 2011
·
Posted to
Multiple submit buttons
over 1 year
ago
In this case, my view is not globalized, but I can use a hidden field, querystring or form parameters, use only name of your submit button and more.
Posted to
How to convert any objects to Nullable
over 1 year
ago
Your example is an alternative to my, as mine is an alternative to your. I don't see no problem with extension methods to system.objects
Posted to
How to convert any objects to Nullable
over 1 year
ago
When you are reading a DataReader for example, everything is object and cannot possibly make implicit conversion to nullable. So, this extension method can help you and your code still looks better.
var id = reader[columnIndex].ToNullable<int>();
Achievements
178 Karma
9,096 Total ProTip Views
Altruist
Increase developer well-being by sharing at least 20 open source projects
Honey Badger
Have at least one original Node.js-specific repo
Charity
Fork and commit to someone's open source project in need
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Mongoose
Have at least one original repo where Ruby is the dominant language
Cub
Have at least one original jQuery or Prototype open source repo
Lab 3
Have at least three original repos where C# is the dominant language
Lab
Have at least one original repo where C# is the dominant language
Why you don't create your own collection with this logic?