LINQ to objects will work on any object that implements IEnumerable (the same interface that allows an object to be used in a For Each loop...
Home » .NET
Tampilkan postingan dengan label .NET. Tampilkan semua postingan
Tampilkan postingan dengan label .NET. Tampilkan semua postingan
How to Pivot a DataTable in .NET
So I would have thought this problem would have already been solved by the Internets at large. As it turns out, I couldn’t find a very simp...
Remove Items in For Loop
As a general rule, you should not modify a collection that your are looping over, only the items inside of that collection. The problem wit...
Bootstrap Navbar Active Class with MVC
The ASP.NET MVC project template comes with Bootstrap scaffolding by default. And Bootstrap comes with default styling for active navbar li...
List (Of LINQ Enumerable Methods)
Here’s a grouped listing of all the methods available on the IEnumerable Class. Methods which can be composed using VB Query Syntax are gen...
Calculating Age From DOB
I couldn’t believe there was no native way in .NET to do something alarmingly simple like calculate someone’s age from their date of birth. ...
Extending XmlReader Class: IsEndElement()
Introduction You may find, as I did, the lack of symmetry in the XmlReader Class quite odd. If we look at the NodeType property, which ex...
Handle Text Change In Selected Index Changed Event
The Problem You may have noticed that .NET won’t let you change the Text value of a ComboBox during the SelectedIndexChanged event. Thi...
Firing The DataGridView CellValueChanged Event Immediately
Intro Let’s say you have a list of things displayed in a DataGridView and you want a user to be able to select among them on a DataGridVie...
Langganan:
Postingan (Atom)