Tag - .NET

Reasons to hire .NET developers from an outsource development company

We can no longer ignore the significance of having an internet presence. You can grow a brand, attract more customers, gain reputation, and generate long-term customer relationships by having a strong online presence. In current digital age, having an online presence implies having a website that contains all of the virtual locations where clients...

Subdomain Mapping in ASP.NET Boilerplate

In AbpTenants table in the database. You can add your custom properties to Tenant class.AbpTenant class defines some basic properties, the most important properties are: TenancyName: This is a unique name of a tenant in the application. It should not be changed normally. It can be used to allocate subdomains to tenants like 'mytenant.mydomain.com'. Tenant.TenancyNameRegex constant defines the...

Using EPPlus library to manage excel spreadsheets in .NET

EPPlus is a library to manage excel spreadsheets, using OOXML. To install EPPlus, you can search for EPPlus in "NuGet Package Manager" or simply run the following command in the "Package Manager Console": PM> Install-Package EPPlus After installing we are going to need to use this namespace: using OfficeOpenXml; I got an exception while reading from an excel...

Show alert or run JavaScript function after showing the appointment popup in DevExpress using VB.NET

You should handle the CustomJSProperties event and add in properties collection the script which you are going to run it.Please find below server side code: Dim script As String = Nothing Dim disablePopup As Boolean = false Protected Sub ASPxScheduler1_AppointmentFormShowing(sender As Object, e As AppointmentFormEventArgs) Handles ASPxScheduler1.AppointmentFormShowing e.Container = New...

How to create AutoComplete Textbox in Windows Forms Application using C#.NET

I'll show you how to create AutoComplete Textbox in a Windows Forms Application This time we're going to get the data from MS Access Databaseso let's get starting! 1- Create Windows Forms Application.2- Add Textbox Control.3- Copy the below code into your form. AutoCompleteStringCollection stringCollection = new AutoCompleteStringCollection(); private void AutoCompleteTextBox() { OleDbConnection aConnection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\Test.mdb"); ...

How to connect to Team Foundation Server (TFS) using C#.NET

I will show you how to connect to Team Foundation Server (TFS) and add work item via code.First you must install TFS SDK, you can download Team Foundation Server SDK from the below link:http://www.microsoft.com/downloads/details.aspx?FamilyID=7e0fdd66-698a-4e6a-b373-bd0642847ab7&DisplayLang=en Steps:1- Create windows or web Application2- Add References for :Microsoft.TeamFoundation.ClientMicrosoft.TeamFoundation.WorkItemTracking.Client3- The below code will help you to work with Team Foundation...

How to get the value of textbox which is created at runtime in WPF

I will show you how to add Controls at runtime and get their values in WPF. 1- Create WPF Application.2- Add Button to add textbox at runtime.3- Add Button to read value from textbox Which is Created at Runtime.4- Add Stackpanel to Host Controls on it. the following method Responsible for Add Controls at runtime: private void...