Saturday 5 September 2020

File Resizing C# | ASP.NET | MVC

 

You can resize your image as per your requirement by using WebImage Class which implemented in System.Web.Helpers namespace and resizing is done by Resize and save method.

Namespace : using System.Web.Helpers;

[HttpPost]

        public JsonResult UploadCommonImage(string fnm, string pth,string w,string h)

        {

Sunday 30 August 2020

Alter Table SQL Server

 

The ALTER TABLE statement is used to add, delete, or modify columns in an existing table.

The ALTER TABLE statement is also used to add and drop various constraints on an existing table.


ALTER TABLE - ADD Column

To add a column in a table, use the following syntax:

ALTER TABLE table_name
ADD column_name datatype;

The following SQL adds an "Email" column to the "Customers" table:

Example

ALTER TABLE Customers
ADD Email varchar(255);

Tuesday 25 August 2020

Zoom Anything on mouse over CSS

 

This post will help you to learn zoom something one your webpage like Image, div, table, or any HTML component in a simple way.

img

{

      width: 100%;

      transition: all 1s;

 }

Wednesday 19 August 2020

Descritive Answer : IT TOOLS & BUSINESS SYSTEMS Jan-2018 | NIELIT O Level

 Q. 5 (A) : Write the comparison Between Dot Matrix Printers & Laser Printers with respect to Print Quality, Speed, Noise and cost parameters.

Answer

Print Quality

A typical laser printer has a resolution of 1,200 dots per inch, or dpi. It achieves this level of detail through the use of microscopic toner powder, high-performance electronics and precision optics. Many laser printers have color capability at the same high resolution. Some dot matrix printers achieve 240 dpi by making repeated passes over the same printed area, though documents produced this way take at least twice as long to print as those printed at normal quality. As a dot matrix printer's output color depends on the ribbon, virtually none offer choices beyond black and red.

Speed

A typical desktop laser printer turns out about four full-color pages per minute; for black-and-white text, this rises to 25 pages per minute. Dot matrix printers are typically rated at between 200 and 600 characters per second, or about 50 pages per minute in draft mode. Some high-output dot matrix printers achieve 1,100 characters per second, or 100 pages per minute, although the print quality is low-resolution text.