Calculating difference between years
- in .Net
I needed to create a dropdown list that had all the years back to a certain date. To accomplish this I would need to calculate difference between years back to the specified date. This isn’t…
a little philosophy in code
I needed to create a dropdown list that had all the years back to a certain date. To accomplish this I would need to calculate difference between years back to the specified date. This isn’t…
A lot of developers get hooked on a particular language and stick with it. They become experts in that language and usually in the frameworks that go along with the language. Even if you are…
Retrieve specific value from the Repeater.Item.DataItem in your code. Ok so I searched around for how to get specific value from a Repeater.Item.DataItem and found a common answer:
1 | string messageSubject = ((DataRowView)e.Item.DataItem).Row["messageSubject"].ToString(); |
In an effort to cast the…