Show month you need in Asp.net Calendar control
By default Asp.net Calendar control shows dates of current month. For some tasks you may need to show another month by default. You can do it from code behind in one string. Read more»
By default Asp.net Calendar control shows dates of current month. For some tasks you may need to show another month by default. You can do it from code behind in one string. Read more»
When I created my first Asp.net web application with UpdatePanel, I wanted to use jQuery for some features. I wanted to make a button “transform”, and when you click it, the text in UpdatePanel became modified via Javascript. I used jQuery framework also here. Soon I found out that it’s not the simple task. Read more»
The task. We have a text with GUIDs and we want to get all the GUIDs. Tools. We’ll use Regular Expressions in C# for this task. Read more»
The task. We have 3 separated text files, for example, web server logs. For more comfortable analyze we want to join them into one file. Below my simple solution for this task in C#. The main steps of script are: Read more»
Исходные данные: на странице есть 9 кнопок с id вида “btn1”, “btn2”, “btn3”, …. “btn9”. При клике на кнопку нужно выводить сообщение “Вы нажали кнопку N”, где N – это текст кнопки. Read more»
Most of all I use PowerShell for administration of SharePoint portal. But also I use it when I need to make some actions with SharePoint lists – get items, update items, remove items (link how to remove items) or to make report based on lists on SharePoint. Read more»
Source: A date in string format, for example, “2015-04-21”. The task: To find a date minus 1 day from the source. Solution: Read more»
It’s a little example, or may be template, of correct code for work with MSSQL server using OleDbConnection. There are two parts you should remember about – connection string and OleDB commands. The most difficult part of this is the connection string. It took me a lot of my time until I studied how to […] Read more»
Create empty file and call it “test.udl”. In Windows it be with the icon like in Figure 1. UDL means “Universal data link” and open this file. This post is for registered users only. Read more»
We have array of int and want to write it to a variable or to show on display. It’s not so easy to do in one string as you can think at first. Below I wrote one of ways to do it. Read more»