Not so long ago when I was very tired I wrote an SQL-query in my C# application in Visual Studio, but I got error on build. The error was " Index (zero based) must be greater than or equal to zero and less than the size of the argument list.". (read more...)
Today while coding a Sharepoint timer job I needed to clean my SPList.
I tried common ways of deleting using "foreach" and "for i++ ..." but I got the error. I couldn't delete list and create it again in timer job because of custom views. As usually for SharePoint solution is not ordinary 🙂 (read more...)
While coding a solution to parse billings I needed to find first and last days in month. The first day is easy - just set "01" for day. But for last day there is nice solution, hope it'll help you
DateTime today = DateTime.Today; DateTime endOfMonth = new DateTime(today.Year, today.Month, 1).AddMonths(1).AddDays(-1);
My name is Alexey. I have two kids - Mark and Marta.
I'm a web developer and administrator. Besides my job I sometimes make different sites, but most of my time I spend with my kids. I like to make their photos because my kids very nice.