In this example, we will demonstrate how to make a dropdown menu select only the month, without the day, using bootstrap-datetimepicker. To implement this, we will need the following components: bootstrap - the bootstrap library jquery - the jQuery library moment - the moment library for working with time, in this example we will use moment-with-locales bootstrap-datetimepicker - the datetimepicker library for selecting dates. In addition, we will use the respond.js and html5shiv.min.js libraries to ensure that our example works correctly in IE.
В данной публикации приведен пример генерации Excel файла при помощи библиотеки OpenXML. Отличие этой библиотеки OpenXML от Microsoft.Office.Interop.Excel в быстродействии которое на порядок выше. Для работы с Excel документами необходимо у…
1. Install .NET Core . 2. Create a new .NET Core project mkdir Sample01 cd Sample01 dotnet new After executing these commands in the Sample01 folder, 2 files will appear: "Program.cs", "project.json". This is the simplest template for a .NET Core application. ...
In this article, I will provide an example of creating and using a Crystal Report in Visual Studio. The provided example is a real working project for preparing tickets for printing on a standard laser printer. Let's start with what we need, which is a data source, so first create a project where we will use our report and create a data source that we will export to an XML file, for a more simple and intuitive creation of a new report and its settings.
There are often cases when creating an event for controls programmatically is necessary, for example, when we need to perform certain manipulations with elements and data they contain before events are processed. This can be on change of selected value, mouse click, change of content, and many other events. It is advisable to create events programmatically rather than in the designer. I will show how to do this in an example.
XML File Processing Example in C#. A simple example that clearly shows how easy it is to break down an XML file into pieces.
From the archive - might come in handy... It seems there's nothing simpler than opening an image from disk in C#. But, there are some pitfalls! Here are two examples. The first method (incorrect): if (openFileDialog1.ShowDialog() == DialogResult.OK) {…
Here, I won't provide detailed instructions on which button to click and which menu to select in Visual Studio. I'll focus on the two main problematic issues I encountered when creating my own service. Per…