Today we are going to focus on printing from Windows Form application silently to the printer using C# graphics object. Graphics objects are defined from:
- Namespace: System.Drawing
- Assembly: System.Drawing.dll
Get More on Graphics Class
Today we will focus on creating our own web browser.
C# Web Browser actually provides an Internet Explorer control. The control has several properties, methods, and events that we can use to implement user interface features.
In this article we will learn basic CRUD operation using Web Api-2, and Stored Procedure with a sample Desktop Application.
Let’s Create a Sample database named ‘SampleDB’ with SQL Management Studio. Using the ‘SampleDB’ now create a Table name ‘tblCustomer’.
CREATE TABLE [dbo].[tblCustomer](
[CustID] [bigint] NOT NULL,
[CustName] [nvarchar](50) NULL,
[CustEmail] [nvarchar](50) NOT NULL,
[CustAddress] [nvarchar](256) NULL,
[CustContact] [nvarchar](50) NULL,
CONSTRAINT [PK_tblCustomer] PRIMARY KEY CLUSTERED
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]