In this example, we will see how to configure and use configuration files for dot-net remoting. Here, we create config file for both server and client. These config file replaces the configuration done through code. This example uses the Singleton Remote server example and then replaces some code with configuration file.
C# provides MaskedEdit control to receive formatted input from the user. This example covers how to create MaskedEdit Control and how to create various Input Masks. It also explains how to check the completion of a mask. You will also learn how to add or suppress Prompt and Literals in the output.
In this example, first we will learn what is Shared and Exclusive locks. Then we will learn about Read Committed, Read UnCommitted, Repeatable Read , Serializable Transaction Isolations with an T-SQL example for each.
CRgn is an MFC Class, which is useful to define regions. Using this one can define the outline of a telephone, DVD, Disc, etc. Once a region is ready, we can assign that to any MFC Window. This way one can display a telephone outline dial-in number pad as a window. In this example, we will create an elliptical MFC Login Dialog using CRgn and Region Path.
In this example, we study how to use C# NotifyIcon Control. Here, we also create a context menu and balloon tooltip to support the sample. The example places a tray icon when the user closes the application. When the user right clicks the Icon, it displays a context menu and through which the user can interact with this example. It runs a timer and when time crosses specific interval; the example notifies the user via a balloon tooltip.
In this Example, we will read employee information from SQL Server and display that in the ASP.Net Web Page using SqlCommand and SqlDataReader.
This example shows how one can use Local and Global Temp Tables. You will know the difference between them in two separate sections. Finally, the example creates text file for Bulk Insert and then shows a T-SQL example which reads this text file & performs bulk insert into the SQL Table.
‘StatusStrip’ is a group of strip controls like MenuStrip and ToolbarStrips. Application Developers uses the StatusStrips to display some quick status data to the user. C# StatusStrip Control allows us to add even combo and text boxes to the status. In this example, we will learn how to add a Status Bar to a C# Application with three status slots in it. Then we will look at some important properties and use that efficiently.
Constraints are rules that decide what data can enter the database tables. SQL server has six types of constraints and we will explore all these here with suitable examples. The constraints that we are going to explore are listed below: Primary Key Foreign Key Not Null Unique Default Check
In this article, we will learn how to use the ‘HTTP Channel’ as transmission protocol. Also, we will create the Metadata Proxy from this HTTP Remote Server deployed remote objects using the ‘SoapSuds’ command line utility. Then we will consume this DLL in a client application to talk to the remote object exposed by the HTTP Remote Server.